Support » Themes and Templates » Body is not showing up correctly

  • Resolved MaddTechWF


    I’m trying to get my header to show up correctly. I have the following code setup in my style.css and index.html file.


    @charset "utf-8";
    /* CSS Document */
    body {
    	/* background: url('../images/header.png') x-repeat; */
    	background-color: #c8c8c8;
    	background-image: url('../images/header.png');
    	background-repeat: repeat-x
    	height: 110px;
    	width: 100%;
    .logo {
    	background-image: url('../images/logo.png');
    	float: left;
    	height: 110px;
    	width: 247px;


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<title>Default Page</title>
    		<link rel="stylesheet" type="text/css" href="style.css"/>
        	<div class="container_12">
            	<div class="header">
            		<div class="logo"></div>

    When I preview this code, the “BODY” is padded down from the top of the page. Why is this?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Body is not showing up correctly’ is closed to new replies.