Go Back   SitePoint Forums > Forum Index > Design Your Site > Web Page Design > CSS
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Jun 19, 2008, 08:20   #4
Centauri
SitePoint Wizard
bronze trophy
 
Centauri's Avatar
 
Join Date: May 2007
Location: Newcastle, Australia
Posts: 3,718
The way you set out your css file is a matter of personal choice. Some like to group like styles, like all text styles togather, list styles together, all basic layout styles together, etc, whilst some (including myself) prefer to order the css declarations in a similar order as they are declared in the html - both methods have their merits, and some different arrangement may work better for you. Just keep in mind that if two rules reference the same element, the later one in the file will overwrite the first.

If you start out by setting your reset, body and container styles first, then you will see the layout start to come together as you go . Remember to check in different browsers each step of the way - much easier to correct something as it happens rather than having to troubleshoot the site when finished.
Centauri is offline   Reply With Quote
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 02:54.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved