For Neopets ONLY discussion.
Topic locked

Help with user lookup code

Thu Apr 06, 2006 7:57 pm

I've decided to change my user lookup (was inspired to have something a little simpler than before) and part of my code isn't working. There is supposed to be a picture in the bottom right corner and it isn't showing up.

Here is the part of my code with the image:

<style type="text/css"> body
img{filter:alpha(Opacity=60) }
body{background:#ffffff url
('http://images.neopets.com/items/artifact_faeriefog.gif')
no-repeat fixed right bottom;}


If there is anyone that could help with why the image is not showing up, I would be most grateful. I'm also curious as to how I can change the background color for the page without having the little image itself maintain its white background.

Mods, if this should be in Computing and Technology, please move this.

Thanks for any help!

Fri Apr 07, 2006 6:58 am

body {background: url("image.gif");
background-attachment: fixed; background-repeat:no-repeat;
background-position: bottom right;
background-color: #FFFFFF;}

I don't know about that filter opacity - that I believe only works in IE, just like scrollbar colors, etc. The image itself you may have to save to your computer and remove the white. Either put it on a transparent background (what I do) or change the color to the background color you choose.

Fri Apr 07, 2006 9:36 pm

Thanks so much for the help everconfused! The code worked beautifully! :hug:
Topic locked