Log In · Register

 
CSS Strange Problem
ChaosNANO
post Dec 4 2009, 06:36 AM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Dec 2009
Member No: 754,358



Hi guys,i've done a portfolio but i've a problem with the css. Practically, if i use the css edit in Web Developer the CSS work great! But if i load the page normally it doesn't.
I also made two new index.html e primary.css with basic code,and it makes the same problem. So,the html is :

CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="css/primary.css" rel="stylesheet" type="text/css" />
</head>

<body>
<p>BLABLABLABLA
</p>
</body>
</html>


And the css:
CODE
body {
background-color: #4B2017;
background-image: url(images/bg.jpeg);
}


But the bg.jpeg works only with web developer css edit open,without web developer it doesn't work..
What is it?

This post has been edited by Cristy: Dec 5 2009, 08:12 PM
Reason for edit: Edited with code tags. - Cristy
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: