Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
css - help... |
Page: 1 | Reply |
Oct 3rd 2002 | #71937 Report |
Member since: Feb 7th 2002 Posts: 1564 |
...jisus I feel dumb, but I really can't remember how to specify the background color/pic in my css file. Can anyone help me before I go nuts. I have a bg_grid.gif wich I wanna use as a background image, but as my css doesn't contain this information it won't show when I set that setting on the page it self. Wich tells me I have to put the info in the css in order to get it to work... But my head just won't be of assistance today....eihter. Plz, hurry, I'm going insane here...I should know this, but it eluds me. Pman. |
Reply with Quote Reply |
Oct 3rd 2002 | #71942 Report |
Member since: Mar 20th 2001 Posts: 3367 |
For image : background-image : url(image path); Eg . background-image : url(images/bg.gif); For color backgrounds : background-color : colorhere; Eg . background-color : #c0c0c0; |
Reply with Quote Reply |
Oct 3rd 2002 | #71947 Report |
Member since: Mar 24th 2002 Posts: 3114 |
Isn't it what sidez said? body{ background-image:"bg_grid.gif" } ? |
Reply with Quote Reply |
Oct 3rd 2002 | #71948 Report |
Member since: Mar 24th 2002 Posts: 3114 |
hmm...doesn't seem to work.. lol .. brb :p [EDIT] ....stupid me. What Sidez said. lol. I missed the URL part. This works: [PHP] |