Forum Moderators: open

Message Too Old, No Replies

help with table display in safari

         

grechen

2:10 pm on May 11, 2009 (gmt 0)

10+ Year Member



hi! i'm a css novice and am having a problem with the rendering of my header properly in safari. i'm running on wordpress, and am using a purchased theme that i modified to add a div for two 468x60 banner ads side by side. i have no display problems in firefox or IE, only Safari. what happens is that this div displays off to the side of the page, so the visitor has to scroll right to see the ads. it should be displayed below the categories and pages divs:

<div id="topbanners-div">

<table border="0" cellspacing="1" cellpadding="2"><tbody>
<tr>
<td><!-- Ad Server Code 7.9.4 for [Zone] 468x60topbanner [Any Dimension] -->
<script type="text/javascript" src="http://example.net/ad.php?do=js&zid=1234&wd=-1&ht=-1&target=_top"></script>
<!-- Ad Server End --></td><td><!-- Ad Serving Serving Code 7.9.4 for [Zone] njc468banner [Any Dimension] -->
<script type="text/javascript" src="http://example.net/ad.php?do=js&zid=56789&wd=-1&ht=-1&target=_top"></script>
<!-- Ad Server End --></td>
</tr></tbody>
</table>

</div>

#topbanners-div {
min-height: 70px;
background-color: #ffffff;
width: 920px;
padding: 3px 2px 3px 3px;
}

if i remove the table, the ads show up in the right place, but they're not formatted properly - and i'm not sure how to create this table using only divs (i've tried, but nothing seems to work)

i have a feeling this is a very simple problem..but i'm not familiar enough to be able to identify it. i would appreciate any help anyone can give...i'm really at a loss now.

please let me know if you need more code or anymore information. thank you SO MUCH.

[edited by: tedster at 4:16 pm (utc) on May 11, 2009]
[edit reason] Make the ad network anonymous [/edit]

grechen

5:14 pm on May 11, 2009 (gmt 0)

10+ Year Member



found a fix...resolved, thank you!

tedster

11:51 pm on May 11, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Help us out a bit, for all future readers of this thread - what was the core to the problem?

g1smd

12:02 am on May 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



To make those URLs validate, don't forget to also change the & to be
&amp;
each time.