Forum Moderators: not2easy

Message Too Old, No Replies

Formatting Looks Different in IE over Firefox

Text underline issue in Adbrite code links

         

angmi90

1:13 am on Dec 19, 2004 (gmt 0)

10+ Year Member



At my Tech Blog, I'm having a problem with the text looking different in IE and Firefox. If you go to my tech blog and on the right side (under the skyscraper banner ad) you'll see a set of text ads from Adbrite and if you look in IE, they look fine, but if you look in Firefox, the links are underlined and I don't want them to be underlined. How do I fix this in my stylesheet, or some other method?

Thanks.

[edited by: SuzyUK at 9:07 am (utc) on Dec. 20, 2004]
[edit reason] no personal urls per TOS, thanks [/edit]

SuzyUK

9:18 am on Dec 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi angmi90 - Welcome to WebmasterWorld

do you know what HTML the "adbrite" ads script generates (divs, classes?), and is there already any formatting in place for them?

You could try wrapping the ads in a div in their own right and targetting the formatting of the links that way? I've seen something like this elsewhere and have some code, but don't know if it will work here..


HTML:
<div class="adbrite">
.... javascript code here....
</div>

CSS:
.adbrite {font: 12px arial, verdana, sans-serif;}
.adbrite a {text-decoration: none; color: #000;}
.adbrite a:hover {text-decoration: underline; color: #f00;}
.adbrite .adHeadline {text-decoration: underline; font-weight: bold; color: blue;}

...based on this example of the generated code I saw:

<A onmouseout="window.status=' '; return true;" onmouseover="window.status='example.html'; return true;" href="targetpage.html" target="_blank"><B><SPAN class="adHeadline">Advertiser</SPAN></B><BR/><SPAN class="adText">Advert Text blah blah</SPAN></A>
<BR/><BR/>

Suzy