MyBB Community Forums

Full Version: Ads shown fine in IE but distorted in firefox!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am trying to display ads in footer of my forum as shown in attached files, As you can see from the two files the display is distorted in firefox(firefox_distorted_image.zip) while is proper in IE6(IE6_correct.zip). For your convenience I have encircled the ad in red, which is overlapping the links section( links section is the one which contains links like "Contact Us", "Return to Top") of footer

I have created a div in my footer:

Code:
<div class="footer_ad"; style="width:100%; float:right" align="center">
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=xxxxx&bid=xxxxx" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">online advertising</a></noscript>
<!-- End BidVertiser code --> </div>

Then in additional CSS under themes. I have placed this:

Code:
.footer_ad {
    display: block;
}

Can someone suggest how can i prevent the ad section from getting distorted in firefox?
Can someone help?
I have got the solution for this... just in case some one else face the same problem

Put your code inside table and problem is solved!

<table align="center">
<tr>

<td>
<div class="footer_ad"; style="width:100%; float:right" align="center">
<!-- Place your ad code here-->
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=xxxxx&bid=xxxxx" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">online advertising</a></noscript>
<!-- End BidVertiser code -->
</div>
</td>

</tr>
</table>