Page 1 of 1

Gallery Coding Help

Posted: 19 Aug 2009 02:05 am
by Silver Link
Can someone help me with the background for my gallery? If you click on the link in my sig, you'll go straight to it. I want to get rid of all the stuff on the left side and somehow center it so it doesn't look weird. Is it possible?

Re: Gallery Coding Help

Posted: 19 Aug 2009 02:24 am
by Mistress Morbid
Hmm, try this for getting rid of the Neopets sidebars and stuff:

Code: Select all

<style >
#main {
 background: transparent;
 border: none}
.adBox2, .adBox, .ad_wrapper_fixed, #ban, .footOverlay, #ban_bottom, hr, #footer, .sidebar {
 display:none;}
#header {
 background:transparent;
 border:;}
</style >

Re: Gallery Coding Help

Posted: 19 Aug 2009 02:42 am
by Silver Link
It says "display" is an invalid word

Re: Gallery Coding Help

Posted: 19 Aug 2009 02:43 am
by Mistress Morbid
*frowns* That's odd, I have the same piece of coding in my own shop...

Re: Gallery Coding Help

Posted: 19 Aug 2009 02:51 am
by thelonetiel
Neo's been PMSing about that for a good while now, despite immediately after the problem showed up the editorial saying it'd be fixed. And there's a pretty common fix too, so I don't see that it really is an issue.

You need to add a slash before the ending caret in each end of the style tag. Like this:

Code: Select all

<style /> </style />
When you update your shop MM, you'll probably have to deal with it then.

Re: Gallery Coding Help

Posted: 19 Aug 2009 02:52 am
by Mistress Morbid
Ah, I see now. ^^ Thanks for the heads up Tiel, I'll remember that. :)

Re: Gallery Coding Help

Posted: 19 Aug 2009 03:12 am
by Silver Link
Alright, I'm getting confused so I'll just post what I have and you guys can shepherd me around from there. The first part is MM's addition



<style>
#main {
background: transparent;
border: none}
.adBox2, .adBox, .ad_wrapper_fixed, #ban, .footOverlay, #ban_bottom, hr, #footer, .sidebar {
display:none;}
#header {
background:transparent;
border:;}
</style />

<style>
body{background: url("http://i36.photobucket.com/albums/e9/si ... llies2.gif") repeat fixed}
div.tablestyle {background:#CCCCFF; border:1px solid #000000;}
#main {background:url("http://i36.photobucket.com/albums/e9/si ... llies2.gif") fixed}</style>


<center>
<img src="http://i36.photobucket.com/albums/e9/si ... nlolly.gif">
<p>
<b>Welcome to my Lolly gallery! I decided to dedicate this gallery to the underrated but nevertheless delicious lolly. Forever in the shadow of the lollypop, I believe now is the time to bring this delicious food to the forefront and let it bask in the glory that it deserves.
<p>
<img src="http://i36.photobucket.com/albums/e9/si ... nlolly.gif">
<p>
<p>
<p>
I'm still on the lookout for these lollies:
<p>
<li>Cauliflower Lolly
<li>Very Berry Ice Lolly
</b>
</center>

Re: Gallery Coding Help

Posted: 19 Aug 2009 03:48 am
by Mistress Morbid
Okay, so according to Tiel, that very first <style> you have to change to <style /> and then it should work.

Re: Gallery Coding Help

Posted: 19 Aug 2009 04:18 am
by Silver Link
When I do that, it says:

Invalid words or disallowed property names found in your style tags.

display



So it's not really a common fix unless I'm fudging something up

Re: Gallery Coding Help

Posted: 19 Aug 2009 05:04 am
by Mistress Morbid
Ah, I'm really sorry Link. =/ I'm not overly great with coding, I just know some basics, so you might have to wait for someone more savvy to figure out the problem.

Re: Gallery Coding Help

Posted: 19 Aug 2009 05:08 am
by Silver Link
Nah, it's ok. The fact that someone attempted to help is better than nothing at all