Just to elaborate, you might have one stylesheet named "site.css" with site-wide styles, such as banners, link-styles, headers, etc. Then you might have another stylesheet called "forum.css" for your message boards, and another called "products.css" for a page with pictures of products, etc.

This way, the styles in "site.css" aren't in every single css file, saving space. Also saves loading time, because in the products page you probably wont need the forums styles...

----- Original Message ----- From: "Patrick H. Lauke" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, March 26, 2005 10:57 AM
Subject: Re: [WSG] {Spam?} stupid question



Kvnmcwebn wrote:

Would someone explain the how and why of using/importing two style sheets
into a page.

a) easier to organise your styles into separate, distinct css files (e.g. one with all the colour definitions, another for the layout, etc)
b) hiding styles from browsers which do not understand @import statements (e.g. Netscape 4.x)


--
Patrick H. Lauke
_____________________________________________________
re�dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************


****************************************************** The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to