Thread: Stupid CSS Bugs
View Single Post
Old 2007-01-20, 10:00 PM   #16
Maj. Stress
Progress rarely comes in buckets, it normally comes in teaspoons
 
Maj. Stress's Avatar
 
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
Quote:
Originally Posted by Useless Warrior View Post
Well you can drastically reduce the amount of code in the <head> by saving your CSS info onto it's own page, then referencing it in the <head> with something like this:
<link rel="stylesheet" type="text/css" href="lickers.css" />
So, in your free sites folder, you'd have five pages instead of four.
index.html
main.html
gallery1.html
gallery2.html
lickers.css

That way, you only have to alter the styles once to make site-wide changes. It makes it far simpler when you find yourself adding more and more styles.
The other benefit of using an external style sheet is page load times.
Maj. Stress is offline   Reply With Quote