Gallery Coding Help

General help with pet/account decisions, galleries, CSS/HTML and so on.
Post Reply
Silver Link
Posts: 364
Joined: 18 Jan 2006 10:49 pm
Gender: Female
Location: USA

Gallery Coding Help

Post 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?
Mistress Morbid
Posts: 849
Joined: 19 Jan 2006 02:33 am
Gender: Female

Re: Gallery Coding Help

Post 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 >
Image Image
Silver Link
Posts: 364
Joined: 18 Jan 2006 10:49 pm
Gender: Female
Location: USA

Re: Gallery Coding Help

Post by Silver Link »

It says "display" is an invalid word
Mistress Morbid
Posts: 849
Joined: 19 Jan 2006 02:33 am
Gender: Female

Re: Gallery Coding Help

Post by Mistress Morbid »

*frowns* That's odd, I have the same piece of coding in my own shop...
Image Image
thelonetiel
Posts: 1067
Joined: 07 Jan 2006 08:56 pm
Gender: Female
Human Avatar: 15268
Location: Nuevo Mexico, Estados Unidos

Re: Gallery Coding Help

Post 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.
Mistress Morbid
Posts: 849
Joined: 19 Jan 2006 02:33 am
Gender: Female

Re: Gallery Coding Help

Post by Mistress Morbid »

Ah, I see now. ^^ Thanks for the heads up Tiel, I'll remember that. :)
Image Image
Silver Link
Posts: 364
Joined: 18 Jan 2006 10:49 pm
Gender: Female
Location: USA

Re: Gallery Coding Help

Post 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>
Mistress Morbid
Posts: 849
Joined: 19 Jan 2006 02:33 am
Gender: Female

Re: Gallery Coding Help

Post by Mistress Morbid »

Okay, so according to Tiel, that very first <style> you have to change to <style /> and then it should work.
Image Image
Silver Link
Posts: 364
Joined: 18 Jan 2006 10:49 pm
Gender: Female
Location: USA

Re: Gallery Coding Help

Post 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
Mistress Morbid
Posts: 849
Joined: 19 Jan 2006 02:33 am
Gender: Female

Re: Gallery Coding Help

Post 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.
Image Image
Silver Link
Posts: 364
Joined: 18 Jan 2006 10:49 pm
Gender: Female
Location: USA

Re: Gallery Coding Help

Post by Silver Link »

Nah, it's ok. The fact that someone attempted to help is better than nothing at all
Post Reply

Who is online

Users browsing this forum: No registered users and 62 guests