View Full Version : What Is Wrong With My Code For My Userlookup?


froggygurl1133
07-15-2006, 10:45 PM
</i><style type="text/css">
{body background: url('http://http://www.shoarns.com/frog.gif') fixed}i.solookup
td, p, body, A{COLOR:#33FF00;FONT-FAMILY:verdana;FONT-SIZE:8pt;}
A:LINK{COLOR:#33FF00;FONT-FAMILY:verdana;FONT-SIZE:8pt;}
A:VISITED{COLOR:#33FF00;FONT-FAMILY:verdana;FONT-SIZE:pt;}
A:HOVER{COLOR:#33FF00;FONT-FAMILY:verdana;FONT-SIZE:8pt;TEXT-DECORATION:underline;}
p table {width:530;border:1px solid #66FFFF;background:#66FFFF;}
b.sotableup {width:530;border:1px solid #66FFFF;background:#FF0099;}
i.return{width:510}
</style>
<b style="overflow:auto; height: 80px; width=530px;" class="sotableup">
<i class="return"> </i>
<b style=color:#00FFFF>TEXT HERE |</b> TEXT HERE <b style=color:#00FFFF>| TEXT HERE</b> <i class="return"> </i>
</b>



the picture wont show up

Brian-W.O.G
07-15-2006, 11:30 PM
If you mean the background picture, I think I know why.

You should change{body background: url('http://http://www.shoarns.com/frog.gif') fixed} To this

body {background-image: url(frog.gif);
background-attachment: fixed}


Tell me if that works.

God bless

froggygurl1133
07-15-2006, 11:37 PM
the only thing that changed was the code but not the lookup

Brian-W.O.G
07-15-2006, 11:39 PM
Hmmmmm, ok, and it's the background image right?

froggygurl1133
07-15-2006, 11:40 PM
im not really sure i am new at html and am really not sure

Brian-W.O.G
07-15-2006, 11:41 PM
Oh, your learning HTML? If you are, I don't think you should be working with this level of code. What tutorial are you using?

froggygurl1133
07-15-2006, 11:45 PM
someone on this site had a tutorial with this on it

</i><style type="text/css">
{body background: url('http://backgroundimageurl.gif') fixed}i.solookup
td, p, body, A{COLOR:#000000;FONT-FAMILY:verdana;FONT-SIZE:8pt;}
A:LINK{COLOR:#FFFFFF;FONT-FAMILY:verdana;FONT-SIZE:8pt;}
A:VISITED{COLOR:#FFFFFF;FONT-FAMILY:verdana;FONT-SIZE:pt;}
A:HOVER{COLOR:#FFFFFF;FONT-FAMILY:verdana;FONT-SIZE:8pt;TEXT-DECORATION:underline;}
p table {width:530;border:1px solid #FFFFFF;background:#FFFFFF;}
b.sotableup {width:530;border:1px solid #FFFFFF;background:#FFFFFF;}
i.return{width:510}
</style>
<b style="overflow:auto; height: 80px; width=530px;" class="sotableup">
<i class="return"> </i>
<b style=color:FFFFFF>TEXT HERE |</b> TEXT HERE <b style=color:FFFFFF>| TEXT HERE</b> <i class="return"> </i>
</b>

The parts that are in bold can be changed so that you can make your layout look anyway you want it to. If have questions about this code(like what certain things do), then visit Lissa's CSS <http://www.lissaexplains.com/css.shtml> page since that's what this code uses.

Brian-W.O.G
07-15-2006, 11:47 PM
Oh ok. Well, if your new to HTML, I think you should start with basic HTML. Even the greatest HTML people started with the basics. I would recommend this tutorial:

http://www.lissaexplains.com/forum/showthread.php?t=57287

It's really simple, it breaks down every step, and it's for people who may never have seen HTML before in their life. Tell me if you find it useful

froggygurl1133
07-15-2006, 11:50 PM
i know a lot of basics i just need to know whats wrong with the code i use a lot of tutorials

Brian-W.O.G
07-15-2006, 11:53 PM
Ok, well, aside from changing the code from{body background: url('http://http://www.shoarns.com/frog.gif') fixed}

To body {background-image: url(frog.gif);
background-attachment: fixed}

Aside from that, I can't think of why the picture won't show up.

froggygurl1133
07-16-2006, 12:01 AM
it did not work

Brian-W.O.G
07-16-2006, 12:03 AM
Hmmmm, ok, where is your image hosted in your FTP server? And where is page itself in your FTP server? If it's not a code issue it has to be an FTP thing.

froggygurl1133
07-16-2006, 02:21 AM
what is ftp?

Brian-W.O.G
07-16-2006, 04:04 AM
FTP stands for File Transfer Protocal. It's what you use to upload files to the internet. Do you have an FTP account?

myriath
07-16-2006, 09:20 AM
The part that's wrong is in bold:
</i><style type="text/css">
{body background: url('http://http://www.shoarns.com/frog.gif') fixed}
There's two 'http://'s.

Second, if you enter the url "http://www.shoarns.com/frog.gif" a message stating "Error 404: /frog.gif is not found at this location"

Which means you have to upload your image by yourself... I'd use imageshack.us

froggygurl1133
07-16-2006, 08:30 PM
does neopets allow image shack and is image shack free?

Brian-W.O.G
07-16-2006, 11:38 PM
I would assume they would, and yes it's 100% free. But myraith, you forgot, she didn't make the body seperate from the selector.

{body background: url('http://http://www.shoarns.com/frog.gif') fixed}


It should at least be:

body {background: url('http://www.shoarns.com/frog.gif') fixed}


But I would even just give the file name, and not the actuall path (assuming you have an FTP of course).

chicken_snail
07-25-2006, 01:49 AM
<body background="yourimagehere"> its simply the SIMPLEST code there is

chicken_snail
07-25-2006, 01:50 AM
FTP stands for File Transfer Protocal. It's what you use to upload files to the internet. Do you have an FTP account?

well... if they dont know what FTP is, than whats the chances they have an account?