Top Banner Div Hiding Ad, My top banner div hides the ad at the top. |
Top Banner Div Hiding Ad, My top banner div hides the ad at the top. |
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. |
|
|
|
![]() |
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.
|
|
|
|
xcameronscottx Top Banner Div Hiding Ad Jul 21 2010, 10:16 PM
Mike Try adding this code between your <style> ta... Jul 22 2010, 03:44 PM
xcameronscottx Unfortunately, that didn't work :/
Maybe the... Jul 23 2010, 04:16 PM
xcameronscottx Ah, I never thought of that! Thanks, Mike. Jul 24 2010, 12:01 PM
Cum Topic Closed&Moved to Resolved. Jul 24 2010, 12:47 PM![]() ![]() |