Topic: positioning a skyscraper-banner to the right of the content Pages that link to <a href="https://ozoneasylum.com/backlink?for=30500" title="Pages that link to Topic: positioning a skyscraper-banner to the right of the content" rel="nofollow" >Topic: positioning a skyscraper-banner to the right of the content\

 
Author Thread
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 08-22-2008 14:14 Edit Quote

hello,

i am designing a website and i try to position a skyscraper-ad to the right of the main content.
now the main-content is a fixed-width centered 3-column layout and the skyscraper should be to the right of the right column. (since the skyscraper is not always present)

how can i achieve that?

thanks a lot!

Blaise
Paranoid (IV) Inmate

From: London
Insane since: Jun 2003

IP logged posted posted 08-22-2008 15:46 Edit Quote

Have you tried absolutely positioning the banner?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 08-22-2008 15:56 Edit Quote

yeah i tried it, but got stuck since it should be a fixed size from the center of the page and absolute positioning is always from the topleft corner if im not mistaken.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 08-22-2008 16:17 Edit Quote

Have you tried ?

code:
#skycrapper
{
	position:absolute;
	top:0;
	left:50%;
	margin-left:<halfWidthOfYouFixedWidth>;
}



Beside, position can be set from the right and bottom too. But top and left prevail ( at least when the text direction is left to right ) in case of conflict.

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 08-22-2008 19:13 Edit Quote

Why can't the ad just be floated to the right of the content inside the right-most column?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 08-22-2008 19:23 Edit Quote

thanks poi that worked very well!



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu