Better yet would be to put it into the head of your document:
<head>
<style type="text/css">
<!--
.bluelist {color:#3399CC; background: inherit;}
-->
</style>
</head>
it was only for a few lists out of about 50 pages - in this case it's only really worth putting it into the tag itself.
I try to keep my CSS stuff for styles I'll be using a lot throughout the site so my code doesn't get too cluttered/hard to understand (I'm only just starting getting into the code side of things)
I do the same thing if it's only for a few items. Still it's a better practice to keep everything in external style sheets. Maybe one day you might perfer red lists!
Thx for the *
Remember to use comments, it's help organise your code, make it easier to read later.
thanks for the tip on comments - i've just been trying to keep stuff to the bare minimum for now but i can see how they'll help when you go back to look at something a few weeks down the line.
especially if you use tables for layout or lots of layers, sometimes it's impossible to keep track of what starts and ends where. I always insert comments as i'm adding tables, etc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.