Quote:
Originally Posted by JD
nifty trick  and yeah i agree on the 1998 thing about HR's
I do the same thing with a clear class like
Code:
.clear {clear:both;}
and use it on page with
Code:
<div class="clear" style="height:xxpx;"></div>
different strokes for different folks :D
|
All's well that ends well .... but ....
1) for predictable cross-browser results call every variable at the beginning of the style sheet.
ie:
font-family
font-size
font-style
line-height
margin
padding
p margin
p padding
div margin
div padding
i margin
i padding
em margin
em padding
etc
etc
etc
Just obey cascading for the best results.
I keep all base (global) styling in a 'base' file to be read 1st.
Then unique page/site styling in a unique CSS file to be read 2nd.
...
