Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Setting background in CSS

Name: Anonymous 2009-01-23 12:07

So I just started making mah own HOMEPAGE, and found some trouble with setting the background. This is my code atm:
body {
    background-image: bg.jpg;
    font-family: verdana;
    font-size: 54px;
}
The file bg.jpg is in my root folder along with the css-file. How come it aint working?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-23 12:10

Proper form:

body
{
background-image: url(pic.jpg);

}

_________________________
orbis terrarum delenda est
 http://xs135.xs.to/xs135/09042/av922.jpg

Name: Anonymous 2009-01-23 12:28

>>2
Go back to Slashdot

Name: Anonymous 2009-01-23 13:00

>>1
lrn2css and google

Name: Anonymous 2009-01-23 18:34

time to die

Name: Anonymous 2009-01-23 19:46

OP, you sound like good ENTERPRISE PROGRAMMER material.

Consider yourself hired!

Name: Anonymous 2009-01-24 1:14

<body bgcolor="image.jpg" />

Name: Anonymous 2010-11-15 11:52

Name: Anonymous 2010-12-06 9:47

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-02-04 17:39

Name: Anonymous 2012-07-25 21:33

test

Name: Anonymous 2012-07-25 21:35

test

Don't change these.
Name: Email:
Entire Thread Thread List