Style Background-color - problem w/ netscape and background-color style

They have: 6 posts

Joined: Aug 1999

I was trying to use the style property background-color: etc; and am getting strange results due to some text inside <sup></sup>. The color has gaps in it under the superscripted text where the normal background shows through. Does anyone know what's up w/ that and how to make it quit.

Ed

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Hmm..

NS sometimes has trouble with style sheets, and has some weird quirks like that. You might try using a style in place of the sub tag, it may or may not help:

E=mc<SPAN style="vertical-align:super">2</SPAN>

Of course, NS may not support that style, which means you may have to use an image to make it work.

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

They have: 6 posts

Joined: Aug 1999

John;

Thanks, tried it but no go in Netscape, worked great in IE though but then IE doesn't leave that annoying blank space in the first place.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.