i use iframes for adbrite ads.in firefox it is fine,but in IE the ad ends up off center to the bottom right. if the background is a solid color i can widen the iframe and give it a background color.i have one site that i cant do that. i could put the ad code in the header,but i dont want to and it looks fine in IE,but not in firefox. <table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="60%" height="110" background="themes/phpib2/images/head_bg.gif"> <iframe src="http://www.mysite.com/path/to/file.html" scrolling="no" allowtransparency="true" frameborder="0" height="60" width="468"></iframe> </td> <td width="40%" height="110" background="themes/phpib2/images/head_bg.gif"> </td> </tr> </table> PHP:
I would like to help but the details you're giving are not enough. Probably a live website link would help. I would only bother if I had a live example to look at and a code that needs fixed can be accessed for testing without one needing to figure out where to install it on local servers and stuff. Getting the point?
i may have fixed it by putting <style type="text/css"> body {background-color: transparent} </style> above the ad code.