PDA

View Full Version : Stylesheet


nebsta
August 31st, 2007, 03:01 PM
I have begun to develop a website for a college course and am currently trying to create the CSS. Please can anyone advise me on exactly how far the stylesheet should in terms of styling a table?

I am using a table to create a sidebar on each page with links for navigation and was wondering if the alignment, background colour & cell width parameters etc should be in the stylesheet or in the HTML of each page?

Buzz
August 31st, 2007, 03:32 PM
The more you put in the stylesheet the easier future changes will be. There's no rule about how much you need or don't need.

I, personally, prefer not to use tables at all and keep the XHTML as minimal as possible and build everything I can in the stylesheet. Makes for very easy site-wide changes.