Jump to content

[SOLVED] basic help with a simple css:(


fantomel

Recommended Posts

Hello i`m coding a small header that i want to be 100% width but i`ve made it on 960px and i can't manage putin all the three part togther in a wrapper can someone please help?

 

 

 

<body>
<div id="header">
<div id="left"></div>
<div id="center"></div>
<div id="right"</div>
</div>

 

and css

 

body 
{
margin: 0px;
padding: 0px;
}
#header
{
}
#header #left
{
background-image: url(../images/index_02.png);
background-repeat: no-repeat;
height: 108px;
width: 308px;
}
#header #center
{
background-image: url(../images/index_03.png);
background-repeat: no-repeat;
height: 150px;
width: 290px;
float: left;
}
#header #right
{
background-image: url(../images/index_02.png);
background-repeat: no-repeat;
height: 108px;
width: 308px;
float: right;
}

Link to comment
https://forums.phpfreaks.com/topic/170849-solved-basic-help-with-a-simple-css/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.