For Neopets ONLY discussion.
Topic locked

Gallery code problem

Fri Mar 23, 2007 5:57 am

I looked at my gallery layout just recently, which used to look fine, but now the top part of the neopets sidebar shows up (The part normally behind the ad). I've tried several codes used for removing the sidebar, but they don't seem to work. What can I add to the coding to hide that yellow bar?

http://www.neopets.com/gallery/?gu=__jade_sage__
Here's my code:

Code:
</i>
<style>
table,td{background:none}
b,td {background:transparent}
p table,table{margin:95px 0 0 0}
#ban,#ol,#m,#n,#mb,#bottomban,.sf,.tl,.tt,.hdr,hr{display:none}
body{scrollbar-face-color:#97D156;scrollbar-shadow-color:#C5EB9A;
scrollbar-highlight-color:#C5EB9A;scrollbar-3dlight-color:#C5EB9A;
scrollbar-darkshadow-color:#C5EB9A;scrollbar-track-color:#C5EB9A;
scrollbar-arrow-color:#C5EB9A;}
td,p,body{color:006600;font:8pt verdana;font-weight:none;text-decoration:none;}
b, i, u{color:006600;font-weight:bold;}
a:link{color:006600;font-weight:bold;font-size:8pt;font-family:verdana;}
a:visited{color:006600;font-weight:bold;font-size:8pt;font-family:verdana;}
a:hover{color:97D156;font-weight:bold;font-size:8pt;font-family:verdana;text-decoration: underline overline;}
hr{color:006600;}
body{background:C5EB9A}
body {background:url(http://img.photobucket.com/albums/v81/Jade08Sage/Miscellaneous/earthbg.gif) fixed}
#top {background:url(http://img.photobucket.com/albums/v81/Jade08Sage/Miscellaneous/earthillusen2.png) no-repeat;width:597px;height:410px;position:absolute;top:0px;left:130px;}
#nav{width:597;position:absolute;top:410;left:133;}
</style>

<div></div>
<div>
<center>
| <a>create</a> |
<a>central</a> |
<a>explore</a> |
<a>games</a> |
<a>neomail</a>
| <a>shops</a> |
<a>boards</a> |
<a>news</a> |
<a>stuff</a> |
<a>help</a> |
</center>
</div>
<table><tr><td>
<div><b>
Welcome to the Forest Gallery! This is my gallery of cute green items. Basically my favorite earth and green related items will be displayed here; such as Illusen and other Earth Faerie items, green plushies and toys, and anything else I like. I hope you like it, and enjoy your visit -_~.
<br><br>
</b><br></div></div></td></tr>
</table>
<p>

Fri Mar 23, 2007 7:22 am

First of all, I am NOT an expert at HTML. Just wondering though, which part of the sidebar? I imagine it depends on the rendering of the browser in certain instances, but I have noticed that with a native CSS file one can (with Trident/IE/Avant) remove the top banner but if you are talking about the area just below the clock, I have noticed that SOME ads are not flash but seem to be anigifs? Or something. Either way they are not blocked by my HOSTS, native Avant ad-blocker or Flash turned off.

I couldn't find any additional code for what you were searching for, that is why I asked. From a maker's point of view, and a viewer's point of view.

I had a similar problem a while back trying to make a nice scheme for my shop, but there was some weird ad that was immune to my HTML/CSS so I scrapped it. Now the ad is gone but I am no longer motivated. Blah. Pft.

EDIT: Read too fast again. Noticed you said 'top' of sidebar. Therefore I assume you mean that annoying main top big ol' banner ad? Hopefully that should be easy to get rid of. Or like I mentioned, at least on the user's end it would be #ban{display:none} in a native CSS file.

Fri Mar 23, 2007 7:50 am

anjuna wrote:First of all, I am NOT an expert at HTML. Just wondering though, which part of the sidebar? I imagine it depends on the rendering of the browser in certain instances, but I have noticed that with a native CSS file one can (with Trident/IE/Avant) remove the top banner but if you are talking about the area just below the clock, I have noticed that SOME ads are not flash but seem to be anigifs? Or something. Either way they are not blocked by my HOSTS, native Avant ad-blocker or Flash turned off.

I couldn't find any additional code for what you were searching for, that is why I asked. From a maker's point of view, and a viewer's point of view.

I had a similar problem a while back trying to make a nice scheme for my shop, but there was some weird ad that was immune to my HTML/CSS so I scrapped it. Now the ad is gone but I am no longer motivated. Blah. Pft.

EDIT: Read too fast again. Noticed you said 'top' of sidebar. Therefore I assume you mean that annoying main top big ol' banner ad? Hopefully that should be easy to get rid of. Or like I mentioned, at least on the user's end it would be #ban{display:none} in a native CSS file.


I already have that in my code though.

Fri Mar 23, 2007 11:19 am

Adding this line to your CSS gets rid of that blue thing up the top... if that's what you want to remove? :)

#ban_spacer.show {display: none;}

Fri Mar 23, 2007 3:40 pm

mazil wrote:Adding this line to your CSS gets rid of that blue thing up the top... if that's what you want to remove? :)

#ban_spacer.show {display: none;}


Thank you so much, that fixed the problem :D Now it looks like it's supposed to :D
Topic locked