0

hello there please help me im having problem with my css specialy with these codes

body {background: url(./images/bg-body.gif) repeat center;
color: #80662b;
font-family: 'AndikaRegular';
font-size: 14px;
margin: 0;
min-width: 950px;
padding: 0;
overflow:scroll;}

if i put these code separate with my php file it wont work. all images i used was working except the backround. can someone help me please.

3
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by JorgeM
0

have you tried ../images/bg-body.gif?

if that doesn't solve the problem, you may as well specify what exactly the problem is.

0

If the image is located in the images folder, one subfolder from the root, then use this...

body {background: url('/images/bg-body.gif') repeat center;}
0

I dont have any idea how but when i remove the <style type="text/css"></style> tag it work.

Edited by rhieAce_1: wrong spelling >.<

1

If you are using an external style sheet, you do not include the <style> element in that file. You only use the <style> element when including it within your html document.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.