Thanks for the tips. I'm just playing at the mo, and yeah, black on maroon is a bit dodgey, but that'll change... :o)
Cheers, Matt > -----Original Message----- > From: Cheryl D. Wise [mailto:[EMAIL PROTECTED]] > Sent: 08 September 2002 00:49 > To: [EMAIL PROTECTED] > Subject: [wdvltalk] RE: xhtml and CSS > > > By the time I looked at your css you'd already followed MOU's advice > about putting in background color. FWIW, I usually ignore those warning > since I've already set a background color in the body definition and I > don't know of any user agent that won't use that as the default for > descenders. > > Using the Style Checker in TopStyle 3 I received one additional warning: > > "Netscape 4 ignores the Body style inside tables to so consider adding > the TD to this selector." {body} > > Couple of suggestions: > > h1 { > font-family : Arial, Helvetica, sans-serif; > font-size : medium; > font-style : normal; > font-weight : bold; > text-decoration : none; > background-color : maroon; > color: #000; > } > > You set color in body so you don't need it in h1. > Bold and normal are defaults for hx tags so you don't need to set them > in your css. > Do you really want to have the same size font for your h1 as for your p > tags? > Also if you define the font-family in your body tag you do not need to > specify it again in unless you want to change it which would eliminate > font-family from both the hx tags and the p tag. > > Which means assuming you do want h1 to be the same size as the p text > you could simplify to > > body,td { > background-color : #fff; > color: #000; > font: medium "Arial Helvetica sans-serif"; > } > > h1 { > font-size : medium; > background-color : maroon; > color: #000; > } > > You could omit the color on the h1 and ignore the warning it would > generate though personally I'd use something other than black text with > a maroon background. > > Cheryl D. Wise > WiserWays > Office: 713.353.0139 > Mobile: 713.412.0406 > [EMAIL PROTECTED] > > > -----Original Message----- > From: Matthew Macdonald-Wallace > > It worked a treat tho, and the php CSS selector script is generating > perfect xhtml as well! > > I'm lovin' this... > > /me does celebratory dance... > > Matt > > > ____ • The WDVL Discussion List from WDVL.COM • ____ > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > Send Your Posts To: [EMAIL PROTECTED] > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > ________________ http://www.wdvl.com _______________________ > > You are currently subscribed to wdvltalk as: > [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/02 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/02 ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED]