[thelist] CSS and deprecated <font> used within sentence

Robert Goodyear rob_goodyear at yahoo.com
Wed Jul 25 13:05:54 CDT 2001


I think HTML Tidy does a pretty good job of filtering and converting all font
declarations to CSS styles, including spans, divs and so on. I've used it as a plugin to
Ultraedit32 on PC and on the Mac with BBEdit.

You could find it on download.com I'm sure.

/rg
--- Alastair Murdoch <alastair at cubeit.co.uk> wrote:
> try using <span></span> tags around the word and applying your class to
> them.
> 
>  -------------------------------
> A l a s t a i r   M u r d o c h
> c o n s u l t a n t  @  c u b e
> 
>     [t:]  01292 27 00 99
>     [m:]  07974 323 551
>     [w:] www.cubeit.co.uk
> 
> 
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of sfmalo
> Sent: 25 July 2001 18:29
> To: thelist at lists.evolt.org
> Subject: [thelist] CSS and deprecated <font> used within sentence
> 
> 
> Don't know if there is an answer for this using CSS:
> 
> Have a situation where I have a word (name of software) written as follows:
> 
> <.b><.strong><.font size="3" color="#0000A0">X<./font><.font size="2"
> color="#800000"><.em><.i>w<./i><./em><./font><.font
>             size="3" color="#0000A0">SCAN<./font><./strong><./b>
> 
> It may occur within a sentence in a <.td>or a <.p>. I am trying to clean out
> any mention of fonts on the site and make everything CSS. So far, so good
> except for the above-mentioned example which occurs fairly often throughout
> the site. Other software names occur also with the same structure.
> 
> I'm stumped. Can't figure out how to make it a class without affecting the
> entire <td> or <p>. Any way to do this using CSS?
> 
> Sharon
> ---------------------------------------------------------------------------
> Sharon F. Malone
> "web design and Internet writing services"
> http://www.24caratdesign.com
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/




More information about the thelist mailing list