Utilising Css Code
Trying to get as much styling in your css file means less mess on your main code area, it makes it easier to
understand. (for us)
If you are using xsitepro.... The following code can be used to keep the code as clean as
possible.
i.e
<style>
h1 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:#333399;
font-weight:bold;}
h2 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:#000000;
font-weight:bold;}
h3 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:#000000;
font-weight:bold;}
</style>
Can be add to css, instead of having.
<h1><span style="FONT-SIZE: 10pt">Css Code</span></h1> for each heading.
|