Log In · Register

 
Top Banner Div Hiding Ad, My top banner div hides the ad at the top.
xcameronscottx
post Jul 21 2010, 10:16 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Jul 2010
Member No: 761,961



My top banner div hides the ad at the top. I was wondering if there was maybe a code that allows you to take control of the top ad and put a z-index on it or somethin'. Any other solution is welcomed as well, of course.

Below is the code I use for all of my layouts' top banner divs:
CODE
<style>
.note {// TOP BANNER & DIVS //}
.profileWidth table { margin-bottom:1000px; width:800px; }
.rail { display:none; }

.topbannerhover {position: absolute; top:0px; left:50%; margin-left:-400px; _margin-left:-401px; width:800px; height:1000px; z-index:1;}

div.topbanner a:hover{
border-top: none;
opacity: 0.0;
filter: alpha(opacity=0);
width: 0px;
height: 0px;
z-index:1;
}

.topbanner {position: absolute; top:0px; left:50%; margin-left:-400px; _margin-left:-401px; width:800px; height:1000px; z-index:1;}
</style>


And of course the '<div class="blahblahblah">' codes after them.

Any help would be greatly appreciated.
 
 
Start new topic
Replies
Mickey
post Jul 24 2010, 07:42 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



You're covering it with a part of your top banner. Remove that bit at the top (this) and add it to your background image, so it still shows but it'll be under the ad. Second, look through this tutorial and correct some of the methods you're using. You'll need it.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: