critical problem with html,help needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steelo kalil
    New Member
    • Feb 2012
    • 2

    critical problem with html,help needed

    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:
    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
    Attached Files
  • ali2mdj
    New Member
    • Feb 2012
    • 1

    #2
    man you are 0 in html

    this is header code.
    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="../css/css/header.css" />
            </head>
        <body>
            <div class="container">
                <div class="logo">
                    <div class="align">
                        <img alt="" src="../images/pic/logo_mail.png" height="55" width="200">
                    </div>
                </div>
            </div>
         
        </body>
        </html>

    and this is css.
    Code:
    @charset "utf-8";
    /* CSS Document */
     
     body{
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
    }
    .container{
        background: url(../../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;
    }

    Comment

    • steelo kalil
      New Member
      • Feb 2012
      • 2

      #3
      man when you said am 0 in html you Praised me,,,,i think for this issue i can consider my level in html as <-100>.
      The bug is fixed...Thank you for your help

      Comment

      Working...