...

View Full Version : DIV Question



bertouk
10-20-2007, 02:19 PM
Hi all

bertouk
10-20-2007, 02:21 PM
Hi all,

Got a question regarding overlapping DIVs :thumbsup:

I created a DIV in order to display my advert codes over our current header.


<style type="text/css">
.headerAdvert{ position:absolute;
top:10px;
left:31%;
margin-left:-70px;
z-index:3;}
</style>


<--!Advert Code-->
<div class="headerAdvert">
Content <div id="lea_728x90_x"> </div> <div id="lea_468x60_x"> </div> </div>

This works perfectly on a 1024x768 screen but anything higher it loses its position covering our logo :(

Is there anyway we can create an overlapping DIV to suit all screen sizes?

Thanks

_Aerospace_Eng_
10-20-2007, 04:42 PM
Why can't you just put the ads in your header div? Can you post a link to your page?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum