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

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Jul 25 12:57:51 CDT 2001


>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>
>
>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?


b.special {
	font: 17px times;
	font-weight: 600;
	color: #0000a0;
}

b.special span {
	font-size: 12px;
	color: #800000;
	font-style: italic;
}

<b class="special">X<span>w</span>SCAN</b>

Tested in NN4 & 6, IE5.5, Opera 5, all Win98. The font size is not exactly 
the same, but near enough. Maybe the small 'w' should get font-weight: 300, 
decide for yourself.

ppk


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the thelist mailing list