View Full Version : no background


wildpenguin
02-01-2003, 03:49 AM
i can not get my back ground to show up on my webpage. what am i doing wrong?

DIV
A:link
{ text-decoration: none; color:#3300FF}
A:visited
{ text-decoration: none; color:#3300FF}
A:active
{ text-decoration: none; color:#3300FF}
A:hover
{ text-decoration: none; color:#3300FF}

body
{background-color: #FFFFFF;
background-image: <img src="/journal2/wildpenguin/images/pinkstars.gif">;
background-attachment: fixed;
cursor: crosshair;
font-family: VERDANA;
color: #000000;
letter-spacing: 0pt;
font-weight:normal;
font-size:13 pt;

scrollbar-face-color : #FFFFFF;
scrollbar-highlight-color : #000000;
scrollbar-3dlight-color : #000000; scrollbar-shadow-color : #000000;
scrollbar-darkshadow-color : #FFFFFF; scrollbar-track-color : #000000;
scrollbar-arrow-color : #000000}

td { font-family: courier new;
color: #000000;
letter-spacing: 0pt;
font-weight:bold;
font-size:8 pt;}

epolady
02-01-2003, 03:57 AM
background-image: <img src="/journal2/wildpenguin/images/pinkstars.gif">;

should be

background-image:url(/journal2/wildpenguin/images/pinkstars.gif);

Dude128
02-01-2003, 03:57 AM
your syntax for the background is incorrect.

from http://www.lissaexplains.com/css.shtml

background-image:url(yourimage.gif);

wildpenguin
02-01-2003, 04:00 AM
it works! thank you!