Whole site in CSS
I'm using this layout for my new site that i'm building in css, im pretty much done with modyfing(?) it but i have a question :
What does this line mean??
From this piece of code
It is importing a secondary CSS file. Often times this is done to separate more advanced CSS so that older browsers don't fumble and/or crash on the code. You could also use the import directive to import different CSS files based on the users viewing device so a Screen Reader which is Aural would get a different CSS file than a Web Browser which is Visual.
.. you can link css files, which will load after eachother. The older browsers ignor this command, BUT thats their problem ;)
I presume standard browsers and use it to seperate my different stylesheets for a website. When you are building tableless sites (all CSS for layouting) this @import lets you seperate layout and style.
I load the main.css first, where I specify the layout-stuff, the DIV's (containers) and their properties. In that CSS I use standard naming, so I can reuse them for another project. Anyway, in this CSS-file the first line is a "link" to the other CSS-file and loads it: @import "classesSection01"; (specific css for section01) .. etc..
I think it is a good idea..
<link rel="StyleSheet" href="template.css" type="text/css">
Okay, thnks for the reply's, i think i get it now. If i have any problems i'll let you know :D