Welcome to WebmasterWorld Guest from 50.19.190.144

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Ad in a long cell but not shown at the top of page.

How to move the ad upwards.

     
8:28 am on May 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:June 12, 2003
posts:164
votes: 0


Some of my pages are packed with info and rather long.

I have a table with 3 columns middle holds the content of the page, left column the menu and right column holds the javascript code for the adsense ads.

The ads appear way down the page roughly middle of the page out of site. I like to move the ad to the top of the cell.

Any recommendations on how to do this.
Spliting the column into rows doesn't help as the cell just shifts down and makes things ugly.

thx

9:07 am on May 14, 2004 (gmt 0)

New User

10+ Year Member

joined:July 3, 2002
posts:39
votes: 0


Add valign="top"

to the cell tag like this <td valign="top">

9:24 am on May 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 4, 2004
posts:194
votes: 0


lol, this isn't an adsense question, but it's the correct answer.

One thing you can do too is splitting it anyhow, but fixing the upper table to fit the desired height, and setting the other to fill up the rest...

Oh well, valign="top" is a sure way it'll work :)

11:55 am on May 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 13, 2003
posts:75
votes: 0


Just to add, the valign=top needs to be placed in the parent cell.

In other words, in your case you (should) have a table with 3 cells in one row (the parent cells, which should all have valign="top". Inside these cells you should have your child tables which contain your content.

Dave

10:43 am on May 17, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:June 12, 2003
posts:164
votes: 0


yep that work thx =]