Can not seem to figure out this out.

16 posts / 0 new
Last post
barkskin
barkskin's picture
Offline
Last seen: 14 years 3 months ago
Joined: 18/10/2009 - 8:15pm
Can not seem to figure out this out.
I noticed a lot of shops in malls have nice borders around items that goes around the items and text dealing with these items. I tried making a border its thin and green and goes around items but every other single graphic and button on my shop page even the neopets sidebar and topbar. I am looking for some code help with this problem so i can make my shop page a bit more professional looking. Thank you
supre_drake
supre_drake's picture
Offline
Last seen: 7 years 3 months ago
Joined: 10/07/2009 - 4:14pm
Interesting avatar. No answer for your code problem, however.
- Kara
perpette
perpette's picture
Offline
Last seen: 4 months 3 weeks ago
Joined: 27/01/2008 - 1:32pm
.content table tbody tr td {background-image:url(blahblahblah.image.jpg);background-repeat:no-repeat;background-position:center;} inside your style tages
temps_bons
temps_bons's picture
Offline
Last seen: 12 years 10 months ago
Joined: 10/04/2009 - 10:58pm
You may need to mess with the spacing inside the image so that your item background doesn't cover part of the image so here is the coding I use in my shop: '.content table tbody tr td {padding: 42px 10px 20px 10px;background-repeat: no-repeat; background-position: center center; background-image:url(http:__whatever__);} img {//border:0px;}' (just remove the ' at the front and end of that coding) Just fool around with the numbers before px until you get it just right. ~ Mimi ----------------------------------------------------------------------------------- ~ Mimi's Ménagerie ~ http://www.neopets.com/browseshop.phtml?owner=temps_bons&misc
~ Mimi ~ http://www.neopets.com/~Amyrilli
barkskin
barkskin's picture
Offline
Last seen: 14 years 3 months ago
Joined: 18/10/2009 - 8:15pm
thank you for the help!
killercars5000
killercars5000's picture
Offline
Last seen: 13 years 7 months ago
Joined: 28/02/2009 - 11:59am
[quote=supre_drake]Interesting avatar. No answer for your code problem, however.[/quote] oh indeed :P maybe bob will put it on his website :O
supre_drake
supre_drake's picture
Offline
Last seen: 7 years 3 months ago
Joined: 10/07/2009 - 4:14pm
[quote=killercars5000] maybe bob will put it on his website :O[/quote] LOL!!! haha
- Kara
barkskin
barkskin's picture
Offline
Last seen: 14 years 3 months ago
Joined: 18/10/2009 - 8:15pm
been working on border for my items. I have one made and i put into code and it doesnt show up no matter how much i make the padding around the items. My image is simply a 126x160 image with a grey border and says purchase at bottom. i uploaded it to photobucket and put the link into my code and yet i cant see it at all.
temps_bons
temps_bons's picture
Offline
Last seen: 12 years 10 months ago
Joined: 10/04/2009 - 10:58pm
[quote=barkskin]been working on border for my items. I have one made and i put into code and it doesnt show up no matter how much i make the padding around the items. My image is simply a 126x160 image with a grey border and says purchase at bottom. i uploaded it to photobucket and put the link into my code and yet i cant see it at all.[/quote] '.content table tbody tr td {padding: 42px 10px 20px 10px;background-repeat: no-repeat; background-position: center center; background-image:url(http:__whatever__);} img {//border:0px;}' or you can put the link to your shop and I can see what you have that is making it not show up. ~ Mimi ----------------------------------------------------------------------------------- ~ temps_bons graphics ~ http://www.neopets.com/~Mimi_Miaulement
~ Mimi ~ http://www.neopets.com/~Amyrilli
barkskin
barkskin's picture
Offline
Last seen: 14 years 3 months ago
Joined: 18/10/2009 - 8:15pm
alright my bad got the image to shop as border. problem now is image doesnt look right with items with longer names . do i need to make image longer to make universal to fit all items. or can i stretch it around certian items?
barkskin
barkskin's picture
Offline
Last seen: 14 years 3 months ago
Joined: 18/10/2009 - 8:15pm
http://www.neopets.com/browseshop.phtml?owner=barkskin any help would be appreciated

Pages