i designed a header of a webpage,this header had a css file.
problem after i designed the page i can see the content of it if i open it directly but i canot see the content of the page if i open it through wamp serever or if i upload it to my domain...i check it many times but canot find the solution for this.
the header code is:
and the css file code is:
i have also attached the content of the page.
please help me to solve it.
thank you
problem after i designed the page i can see the content of it if i open it directly but i canot see the content of the page if i open it through wamp serever or if i upload it to my domain...i check it many times but canot find the solution for this.
the header code 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></title>
<link rel="stylesheet" type="text/css" href="file:///C|/wamp/www/site/css/css/header.css" />
</head>
<body>
<div class="container">
<div class="logo">
<div class="align">
<img alt="" src="file:///C|/wamp/www/site/images/pic/logo_mail.png" height="55" width="200">
</div>
</div>
</div>
</body>
</html>
and the css file code is:
Code:
@charset "utf-8";
/* CSS Document */
body{
margin: 0;
padding: 0;
border: 0;
outline: 0;
}
.container{
background: url(file:///C|/wamp/www/site/images/pic/header.jpg) repeat-x top left;
top: 0;
height: 86px;
}
.logo{
margin: auto;
padding-top: 40px;
width: 900px;
}
.align{
float: left;
}
html.rtl .align {
float: right;
}
img{
border:none;
}
i have also attached the content of the page.
please help me to solve it.
thank you
Comment