Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A Stylesheet that should help keep that code organised.

Featured Replies

I'm a bit of an obsessive compulsive when it comes to tidy uniform code; being this person I went on a journey through the blogs on the subject, I finally came up with this stylesheet;

 

http://www.aaronbrand.co.uk/draft/aaronbra...signs/style.css

 

for the sake of it I made a simple html page to work from too (this uses the above stylesheet) I suggest you view the source:

 

http://www.aaronbrand.co.uk/draft/aaronbrand/otherdesigns/

 

I find working from this saves me a lot of time.

 

I also included some of the common DIVs and attributes you find in your everyday stylesheet. There isn't a great deal to explain 1ST is your primary content 2nd is secondary (I indented all secondary content to illustrate). For larger stylesheet I sometimes add a table of contents to the top and use this to find classes. I have also put the longest strings at the top with the smallest at the bottom, but this isn't the best way of doing things some attributes are better next to each other (e.g Height & Width), I just find it easier on the eyes :p.

 

I have used this on a few projects and it saves me heaps of time, I know its not going to suite every website but the organisation should suite any site.

 

I thought I'd share it, some of you may find it of some use.

Nice idea but on newer websites I've been making I've been keeping the CSS down to a minimum in order to reduce load times. I know it's only a few lines of text but every little helps.

 

Also this is my first venture out of general chat in a long, long time!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.