- From: Matt Heffron <heffron@falstaff.css.beckman.com>
- Date: Thu, 31 Oct 1996 16:13:51 -0800
- To: www-html@w3.org
> .Normal { text-align: left; font-family: "Times New Roman"; font-size: > 12pt; } > >a. is there _really_ a period before the "Normal" ? >b. did that 12pt get folded by the email or is that how you have it in > the file? > > The text in the above example ends up in 12pt TNR. Shouldn't the <FONT> > tag override the values set by the CLASS attribute. > >I don't think HTML or CSS1 specifies behaviour at this level, it's up >to the browser to decide what they want to implement. My guess would >be that specific markup in the document should override general styles >in the header. At the Microsoft Site Builder Conference presentation on Style Sheets (on Tuesday) it was stated that style sheets SUPERCEDE <FONT> tag markup so that FONT tags can be used as a "fall back" for viewing documents on browsers that don't support style sheets (just at <EMBED> or "vanilla HTML" can be used in <OBJECT> as a fall-back for non-OBJECT browsers). > > <P STYLE="text-align: left; font-family: \"Times New Roman\"; font-size: > 12pt;"> > >Except that it's now invalid HTML. Won't MSIE accept single-quotes >around the font name? Or better, use single quotes round the whole >STYLE value and then you can take away the escapes. They also claimed to have cleaned-up the quoting issues (I think in MSIE 3.01) so that quotes aren't required on the font name unless it includes a ';' in the name. -- Matt Heffron heffron@falstaff.css.beckman.com Beckman Instruments, Inc. voice: (714) 961-3128 2500 N. Harbor Blvd. MS X-10, Fullerton, CA 92634-3100 I don't speak for Beckman Instruments (or CRFG) unless they say so.
Received on Thursday, 31 October 1996 19:13:52 UTC