View Full Version : What am i doing wrong?


piink-giirl
07-30-2004, 05:19 PM
Ok, i made this 'graphic' layout in photoshop (home edition) and im tryiong to set it as a background, so then i can put the menu over it and all that stuff.

The page where i uploaded the layout (which im going to use as a background is:

http://www.freewebs.com/piink-kiiss/RAINBOW.jpg

And then i used this <style>body{background: "http://freewebs.com/piink-kiiss/rainbow.jpg" fixed}--> </style> and put it between the <body> </body> tags

It didnt show up...why>? what am i doing wrong? and then i want to use this code:
<div style="width: 268; height: 127; overflow: auto; font-family: Verdana, Tahoma, Helvetica, sans-serif; font-size: 11px; color: #000000; scrollbar-arrow-color:#FFFFFF; scrollbar-track-color:#538BB1; scrollbar-face-color:#275A7D; scrollbar-highlight-color:#538BB1; scrollbar-3dlight-color:#275A7D; scrollbar-darkshadow-color:#0A253B; scrollbar-shadow-color:#275A7D;"><div style="padding: 5px;">

TEXT GOES HERE!!!!!!!!!!!!!!!!!!!!!!!!!!

<br></div></div></td><td width="1" height="127"></td></tr><tr><td width="270" height="1" colspan="3"></td></tr></table></div>

iS THAT code going to work??^^ If not what's the code ? thanks a bunch!!

piink-giirl
07-30-2004, 05:22 PM
Never mind about the bacground thing, i found this code:
<body background= "http://freewebs.com/piink-kiiss/rainbow.jpg" fixed> </style>
and its working...but im still wondering about the textarea thing..if the code is too long feel free to email me!

kittycat
07-30-2004, 05:25 PM
Even though you've solved it, the first code should have look like this:
<style type="text/css"> body { background: url("http://freewebs.com/piink-kiiss/rainbow.jpg") fixed; } </style>
And go between the <head> and </head> tags.
The div code looks right, you should specify measurements (px) in the width and height, and you could add the padding of the second div in with the first.

piink-giirl
07-30-2004, 05:29 PM
Thanks!This is my first 'graphic' layout, i ususally do it in frames, but then i read the things about frames and how its not so good, ,and so i decided to learn how to make a layout this way.....So im just doing this to see how to make one...

http://www.freewebs.com/piink-kiiss/lala.htm < thats the page where its at...how can i make the background smaller?? or does it look ok?

kittycat
07-30-2004, 05:41 PM
If you want the background smaller you'd have to resize it in an image program, but it looks all right I guess.

piink-giirl
07-30-2004, 05:46 PM
Ok, thanks..i dont need help anymore, thanks a lot!! :)