[thelist] CSS & Netscrap :: a tip

benjamin deboute deboute at nerdsoul.com
Mon Jul 24 08:04:19 CDT 2000


<tip type="CSS" author="deboute benjamin">
for netscape ::
1. if you want to style your body ( hmmm...style me up, baby... ) declare 
the style for table, tr, td, p, block..... elements too.
i.e. ::
body,table,td,tr,p { font-size: 10pt; color:#000000; font-family : Verdana, 
Geneva, sans-serif; }
2. if you style a tag, declare it in caps too ( ya never know, if you do 
server-side voodoo and must play with others scripts/inputs/rotes ) 'cuz 
netscape is apparently case sensitive with style declarations.
i.e. ::
body,BODY,table,TABLE,td,TD,tr,TR,p,P { font-size: 10pt; color:#000000; 
font-family : Verdana, Geneva, sans-serif; }
3. worst of the worst.
<table><tr><td><h1>foo</h1></td></tr></table>
outputs in NN a wonderful non-h1oned 'foo'.
why ?
because it gives preponderance to the style of the table, tr, 
td................
soooo.........
if you want to use a classic tag, you've got to re-declare it in your style 
sheet.
</tip>





More information about the thelist mailing list