really flumoxed here. this logo should not be repeating but yet it is, can you help me out guys,
image is coming out side by side
CSSCode:<html> <head> <link href="styles.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="header"> <h1><a href="#"> Coolmine MMA</a><h1> </div> </div> </body> </html>
Code:* { margin: 0; padding: 0; } body { background: #fff url(images/bg_body.jpg) repeat-x 0 0; font-family: Arial, Helvetica, sans-serif; } #container { width: 960px; margin: 0 auto; padding: 0 10px; } #header { position:relative; width:960px; } #header h1 { display:block; float:left; width:400px; height:120px; background:url(images/logo.jpg)no-repeat 0 0; text-indent:-9999px; } #header h1 a { display: block; height: 100%; width: 100%; }


Reply With Quote




Bookmarks