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 22 2010, 03:44 PM
Post
#2
|
|
Treasure Pleasure Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Try adding this code between your <style> tags:
CODE .profile {display:none!important;}
div div table div {display:none;} .clearfix table div div {display:block;} |
|
|
Jul 23 2010, 04:16 PM
Post
#3
|
|
Newbie Group: Member Posts: 5 Joined: Jul 2010 Member No: 761,961 |
Unfortunately, that didn't work :/
Maybe there's some conflicting code, I'm not sure. Here's the full code of the layout: CODE <style>.note {// DON'T EDIT BELOW HERE //}</style> <style> .note {// TOP BANNER & DIVS //} .profileWidth table { margin-bottom:1880px; width:1000px; } .rail { display:none; } .topbannerhover {position: absolute; top:0px; left:50%; margin-left:-500px; _margin-left:-501px; width:1000px; height:2010px; z-index:2;} div.topbanner a:hover{ border-top: none; opacity: 0.0; filter: alpha(opacity=0); width: 0px; height: 0px; z-index:2; } .topbanner {position: absolute; top:0px; left:50%; margin-left:-500px; _margin-left:-501px; width:1000px; height:2010px; z-index:2;} .iefix {position: absolute; top:2010px; left:50%; margin-left:-440px; _margin-left:-441px; width:400px; height:664px; z-index:1;} .merch {position: absolute; top:2010px; left:50%; margin-left:-440px; _margin-left:-441px; width:400px; height:290px; z-index:2;} .endorsements {position: absolute; top:2300px; left:50%; margin-left:-440px; _margin-left:-441px; width:400px; height:130px; z-index:2;} .info {position: absolute; top:2450px; left:50%; margin-left:-440px; _margin-left:-441px; width:400px; height:150px; z-index:2;} .ms {position: absolute; top:15px; left:50%; left:15px; _left:15px; width:100px; height:100px; z-index:9;} </style> <div class="topbannerhover"> <img src="http://img835.imageshack.us/img835/9610/tfnregs01.jpg" /><br /><img src="http://img837.imageshack.us/img837/5546/tfnregs02.jpg" /><a href="http://www.msplinks.com/MDFodHRwOi8vaG9tZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2Vy"><img src="http://img836.imageshack.us/img836/7843/tfnrolls03.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vYnJvd3NldXNlcnMubXlzcGFjZS5jb20vQnJvd3NlL0Jyb3dzZS5hc3B4"><img src="http://img837.imageshack.us/img837/8136/tfnrolls04.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vc2VhcmNoc2VydmljZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1zaXRlc2VhcmNoLmZyaWVuZGZpbmRlcg=="><img src="http://img841.imageshack.us/img841/8815/tfnrolls05.jpg" /></a><a href="http://www.myspace.com/local"><img src="http://img843.imageshack.us/img843/1098/tfnrolls06.jpg" /></a><a href="http://music.myspace.com/"><img src="http://img842.imageshack.us/img842/3605/tfnrolls07.jpg" /></a><a href="http://vids.myspace.com/"><img src="http://img829.imageshack.us/img829/3350/tfnrolls08.jpg" /></a><a href="http://www.myspace.com/todayonmyspace"><img src="http://img827.imageshack.us/img827/5359/tfnrolls09.jpg" /></a><img src="http://img843.imageshack.us/img843/8227/tfnregs10.jpg" /><br /><img src="http://img839.imageshack.us/img839/935/tfnregs11.jpg" /><br /><a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJZD00MTkxNjIxNTA="><img src="http://img841.imageshack.us/img841/7570/tfnrolls12.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVz 2FnZVYzJmZyaWVuZElEPTQxOTE2MjE1MA=="><img src="http://img828.imageshack.us/img828/6735/tfnrolls13.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vY29tbWVudC5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdQcm9maWxlX2NvbW1lbnRGb3JtJmZyaWVuZElEPTQxOTE2MjE1MA=="><img src="http://img714.imageshack.us/img714/3119/tfnrolls14.jpg" /></a><a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=419162150"><img src="http://img831.imageshack.us/img831/9331/tfnrolls15.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vdGhlZmlnaHRuaWdodC5iaWdjYXJ0ZWwuY29tLw=="><img src="http://img828.imageshack.us/img828/1074/tfnrolls16.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LmZhY2Vib29rLmNvbS90aGVmaWdodG5pZ2h0"><img src="http://img835.imageshack.us/img835/7527/tfnrolls17.jpg" /></a><img src="http://img826.imageshack.us/img826/8181/tfnrolls18.jpg" /><a href="http://www.msplinks.com/MDFodHRwOi8vdGhlZmlnaHRuaWdodC5iYW5kY2FtcC5jb20v"><img src="http://img826.imageshack.us/img826/4719/tfnrolls19.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnB1cmV2b2x1bWUuY29tL3RoZWZpZ2h0bmlnaHQ="><img src="http://img826.imageshack.us/img826/3022/tfnrolls20.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lmxhc3QuZm0vbXVzaWMvVGhlK0ZpZ2h0K05pZ2h0"><img src="http://img828.imageshack.us/img828/8083/tfnrolls21.jpg" /></a><br /><img src="http://img838.imageshack.us/img838/7240/tfnregs22.jpg" /><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img844.imageshack.us/img844/9387/tfnrolls23.jpg" /></a><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img833.imageshack.us/img833/1661/tfnrolls24.jpg" /></a><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img841.imageshack.us/img841/7919/tfnrolls25.jpg" /></a><img src="http://img840.imageshack.us/img840/7056/tfnregs26.jpg" /><br /><img src="http://img837.imageshack.us/img837/4525/tfnregs27.jpg" /><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img830.imageshack.us/img830/337/tfnrolls28.jpg" /></a><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img828.imageshack.us/img828/7239/tfnrolls29.jpg" /><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img827.imageshack.us/img827/6804/tfnrolls30.jpg" /></a><img src="http://img843.imageshack.us/img843/4982/tfnregs31.jpg" /><br /><img src="http://img837.imageshack.us/img837/6426/tfnregs32.jpg" /><br /><img src="http://img833.imageshack.us/img833/292/tfnregs33.jpg" /><a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=419162150"><img src="http://img830.imageshack.us/img830/5072/tfnrolls34.jpg" /></a><img src="http://img840.imageshack.us/img840/5199/tfnregs35.jpg" /><br /><img src="http://img844.imageshack.us/img844/121/tfnregs36.jpg" /><a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=419162150"><img src="http://img835.imageshack.us/img835/9326/tfnrolls37.jpg" /></a><img src="http://img839.imageshack.us/img839/4527/tfnregs38.jpg" /><a href="http://www.myspace.com/thefightnightmusic/videos"><img src="http://img840.imageshack.us/img840/8384/tfnrolls39.jpg" /></a><img src="http://img839.imageshack.us/img839/4371/tfnregs40.jpg" /><br /><img src="http://img837.imageshack.us/img837/1828/tfnregs41.jpg" /> </div> <div class="topbanner"> <img src="http://img835.imageshack.us/img835/9610/tfnregs01.jpg" /><br /><img src="http://img837.imageshack.us/img837/5546/tfnregs02.jpg" /><a href="http://www.msplinks.com/MDFodHRwOi8vaG9tZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2Vy"><img src="http://img844.imageshack.us/img844/5206/tfnregs03.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vYnJvd3NldXNlcnMubXlzcGFjZS5jb20vQnJvd3NlL0Jyb3dzZS5hc3B4"><img src="http://img827.imageshack.us/img827/1707/tfnregs04.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vc2VhcmNoc2VydmljZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1zaXRlc2VhcmNoLmZyaWVuZGZpbmRlcg=="><img src="http://img831.imageshack.us/img831/7668/tfnregs05.jpg" /></a><a href="http://www.myspace.com/local"><img src="http://img842.imageshack.us/img842/4051/tfnregs06.jpg" /></a><a href="http://music.myspace.com/"><img src="http://img841.imageshack.us/img841/6163/tfnregs07.jpg" /></a><a href="http://vids.myspace.com/"><img src="http://img826.imageshack.us/img826/7029/tfnregs08.jpg" /></a><a href="http://www.myspace.com/todayonmyspace"><img src="http://img841.imageshack.us/img841/9373/tfnregs09.jpg" /></a><img src="http://img843.imageshack.us/img843/8227/tfnregs10.jpg" /><br /><img src="http://img839.imageshack.us/img839/935/tfnregs11.jpg" /><br /><a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJZD00MTkxNjIxNTA="><img src="http://img836.imageshack.us/img836/2305/tfnregs12.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVz 2FnZVYzJmZyaWVuZElEPTQxOTE2MjE1MA=="><img src="http://img843.imageshack.us/img843/2254/tfnregs13.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vY29tbWVudC5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdQcm9maWxlX2NvbW1lbnRGb3JtJmZyaWVuZElEPTQxOTE2MjE1MA=="><img src="http://img830.imageshack.us/img830/3912/tfnregs14.jpg" /></a><a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=419162150"><img src="http://img844.imageshack.us/img844/219/tfnregs15.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vdGhlZmlnaHRuaWdodC5iaWdjYXJ0ZWwuY29tLw=="><img src="http://img837.imageshack.us/img837/4476/tfnregs16.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LmZhY2Vib29rLmNvbS90aGVmaWdodG5pZ2h0"><img src="http://img828.imageshack.us/img828/1263/tfnregs17.jpg" /></a><img src="http://img842.imageshack.us/img842/3990/tfnregs18.jpg" /><a href="http://www.msplinks.com/MDFodHRwOi8vdGhlZmlnaHRuaWdodC5iYW5kY2FtcC5jb20v"><img src="http://img827.imageshack.us/img827/3718/tfnregs19.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnB1cmV2b2x1bWUuY29tL3RoZWZpZ2h0bmlnaHQ="><img src="http://img842.imageshack.us/img842/7315/tfnregs20.jpg" /></a><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lmxhc3QuZm0vbXVzaWMvVGhlK0ZpZ2h0K05pZ2h0"><img src="http://img829.imageshack.us/img829/5249/tfnregs21.jpg" /></a><br /><img src="http://img838.imageshack.us/img838/7240/tfnregs22.jpg" /><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img829.imageshack.us/img829/8559/tfnregs23.jpg" /></a><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img828.imageshack.us/img828/2229/tfnregs24.jpg" /></a><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img843.imageshack.us/img843/4782/tfnregs25.jpg" /></a><img src="http://img840.imageshack.us/img840/7056/tfnregs26.jpg" /><br /><img src="http://img837.imageshack.us/img837/4525/tfnregs27.jpg" /><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img834.imageshack.us/img834/6586/tfnregs28.jpg" /></a><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img838.imageshack.us/img838/2800/tfnregs29.jpg" /><a href="http://www.myspace.com/thefightnightmusic"><img src="http://img836.imageshack.us/img836/4055/tfnregs30.jpg" /></a><img src="http://img843.imageshack.us/img843/4982/tfnregs31.jpg" /><br /><img src="http://img837.imageshack.us/img837/6426/tfnregs32.jpg" /><br /><img src="http://img833.imageshack.us/img833/292/tfnregs33.jpg" /><a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=419162150"><img src="http://img833.imageshack.us/img833/3459/tfnregs34.jpg" /></a><img src="http://img840.imageshack.us/img840/5199/tfnregs35.jpg" /><br /><img src="http://img844.imageshack.us/img844/121/tfnregs36.jpg" /><a href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewAlbums&friendID=419162150"><img src="http://img836.imageshack.us/img836/4113/tfnregs37.jpg" /></a><img src="http://img839.imageshack.us/img839/4527/tfnregs38.jpg" /><a href="http://www.myspace.com/thefightnightmusic/videos"><img src="http://img838.imageshack.us/img838/1379/tfnregs39.jpg" /></a><img src="http://img839.imageshack.us/img839/4371/tfnregs40.jpg" /><br /><img src="http://img837.imageshack.us/img837/1828/tfnregs41.jpg" /> </div> <div class="iefix"> <img src="http://img843.imageshack.us/img843/7631/iefix.jpg" /> </div> <div class="merch"> <img src="http://img844.imageshack.us/img844/204/merch.png" /><br /><a href="http://www.msplinks.com/MDFodHRwOi8vdGhlZmlnaHRuaWdodC5iaWdjYXJ0ZWwuY29t"><img src="http://img840.imageshack.us/img840/8353/tfn.jpg" /></a> </div> <div class="endorsements"> <img src="http://img830.imageshack.us/img830/759/endorsements.png" /><br /> <center><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnJlc2N5b3VjbG90aGluZy5jb20="><img src="http://i29.tinypic.com/30t6yjt.png" /></a></center> </div> <div class="info"> <img src="http://img841.imageshack.us/img841/6171/infoi.png" /><br /> <table width="400"><tr> <td width="100%"><b>Hometown:</b></td> <td align="right">Chicago, IL</td> </tr><tr> <td width="100%"><b>URL:</b></td> <td align="right">myspace.com/thefightnightmusic</td> </tr><tr> <td width="100%"><b>E-Mail:</b></td> <td align="right"><a href="mailto:miketfn@gmail.com">miketfn@gmail.com</a></td> </tr><tr> <td width="100%"><b>Layout:</b></td> <td align="right"><a href="http://www.myspace.com/wearemidnightsociety">Midnight Society</a><br />Cameron Latham</td> </tr><tr> <td width="100%"><b>Photography:</b></td> <td align="right"><a href="http://www.myspace.com/wearemidnightsociety">Midnight Society</a><br />Brad Meyer</td> </tr><tr> <td width="100%"><b>Label:</b></td> <td align="right">Unsigned</td> </tr> </table> </div> <div class="ms"> <a href="http://www.myspace.com/wearemidnightsociety"><img src="http://i44.tinypic.com/2u5rfj8.png" /></a> </div> <style> .note {// BACKGROUND & HEADERS //} body { background-color: 000000; background-image: url(http://img839.imageshack.us/img839/2699/33892715.jpg); background-position: top center; background-repeat: no-repeat;} table, tr, td{ background-color:transparent; border:none; } table.latestBlogEntry span.btext {display:block; width:100%; background-image:url(http://img830.imageshack.us/img830/6669/blogy.png); background-repeat:no-repeat; height:30px; background-position:top center; font-size:1px!important; letter-spacing:-5000px;} html body.bodyContent table tbody tr td table tbody tr td.text table.friendSpace tbody tr td.text table tbody tr td span.orangetext15{ display: block !important; height: 30px !important; width: 430px !important; margin: 0 !important; padding: 0 !important; font-size: 1px; overflow: hidden; background-image:url(http://img842.imageshack.us/img842/4561/friends.png) ; background-repeat: no-repeat; color: ff0066 !important; line-height: 10px !important; margin-top: -3px !important; } table.friendsComments td, table.friendsComments table {border:0px;} table.friendsComments td.text span.orangetext15 {display:block; width:100%; background-image:url(http://img831.imageshack.us/img831/4248/commentsr.png) ; background-repeat:no-repeat; width:760px; height:30px; background-position: left center; font-size:1px!important; letter-spacing:-5000px;} table.friendsComments td.text table {background-color:transparent; width:100%;} .note {// TEXT & LINKS //} table, tr, td, li, p, div { font-family:arial; color:FFFFFF; font-size:11px;} .btext { font-family:arial; color:FFFFFF; font-size:11px;} .blacktext10 { font-family:arial; color:ff0066; font-size:11px; font-weight:bold;} .redtext { font-family:arial; color:ff0066; font-size:11px; font-weight:bold;} .redbtext { font-family:arial; color:ff0066; font-size:11px; font-weight:bold;} .text { font-family:arial; color:FFFFFF; font-size:11px;} a:active, a:visited, a:link { font-family:arial; color:ff0066; font-size:11px; font-weight:normal;} a:hover { font-family:arial; color:FFFFFF; font-size:11px; font-weight:normal;} a.navbar:active, a.navbar:visited, a.navbar:link { font-family:arial; color:ff0066; font-size:11px; font-weight:normal;} a.navbar:hover { font-family:arial; color:FFFFFF; font-size:11px;} a.redlink:active, a.redlink:visited, a.redlink:link { font-family:arial; color:ff0066; font-size:11px;} a.redlink:hover { font-family:arial; color:FFFFFF; font-size:11px;} whitelink { font-family:arial; color:ff0066; font-size:11px;} .nametext { font-family:arial; color:ff0066; font-size:11px;} .note {// MOVING STUFF //} table table td.text div object {position:absolute; top:1652px; left:50%; margin-left:-7px; _margin-left:-8px; z-index:9} table table td.text div object object {position:static; margin-right:0px; margin-left:0px;} table table td.text div, table table td.text div.i div {height:auto !important;} table table td.text div {margin-top:-13px;} table table td.text table div {margin-top:0px;} table table img {width:140px;} table table table img, div table table img, table div table img {width:auto;} .note {// HIDING STUFF //} .rail {display:none!important;} td.rail {display:inline;} body{overflow-x:hidden} .orangetext15, .contacttable, .whitetext12, .lightbluetext8, .blacktext12 {display:none;} table table table table div {display:none;} table table td.text table table div {display:block;} table.T {display:none;} table table table table td.text font strong {display:none;} table table table table td.text a img, .i {display:none;} span.nameText, x.i i, .i {display:none} table table table td.text font strong{display:none} tr[id="Member SinceRow"] {display:none;} tr[id="Band MembersRow"] {display:none;} tr[id="Type of LabelRow"] {display:none;} div div table div {display:none;} .clearfix table div div {display:block;} tr td div, div td, div tr, div table {background-color:transparent !important;} .profile, div ul {display:none !important; } div.profile * {display:none !important;} .profile form {display:none;} tr td .clearfix div {filter:alpha(opacity=0)!important;} div[id="shortcuts"] {opacity:0;} .profilewidth {margin-top:-30px!important;} .profilewidth .clearfix div * {position:relative;top:15px;filter:none!important;} .mslogo, .clearfix select, .clearfix form {display:none!important;} </style> Also, here's the link to the page that the layout's on: http://www.myspace.com/thefightnightmusic |
|
|
Jul 24 2010, 07:42 AM
Post
#4
|
|
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.
|
|
|
Jul 24 2010, 12:01 PM
Post
#5
|
|
Newbie Group: Member Posts: 5 Joined: Jul 2010 Member No: 761,961 |
Ah, I never thought of that! Thanks, Mike.
|
|
|
Jul 24 2010, 12:47 PM
Post
#6
|
|
Senior Member Group: Staff Alumni Posts: 4,665 Joined: Aug 2008 Member No: 676,364 |
Topic Closed&Moved to Resolved.
|
|
|