Welcome to WebmasterWorld Guest from 54.144.243.34

Forum Moderators: incrediBILL & martinibuster

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)

10+ Year Member



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)

10+ Year Member



Add valign="top"

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

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

10+ Year Member



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)

10+ Year Member



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)

10+ Year Member



yep that work thx =]
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month