Thread: Stupid CSS Bugs
View Single Post
Old 2007-01-20, 03:18 PM   #2
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by Licker4U View Post
But damn the pages in that site sure have a lot of code in them. Is that the way I'm gonna have to build sites now? I'ld rather go back to straight html...
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.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote