probleme aliniere header
Scris: Sâm Ian 12, 2013 5:53 pm
Salut. Am o problema legata de alinierea headerului. Doresc sa il aliniez stanga-sus si nu reusesc.
Problema este ca am vreo 5px margin sus stanga si dreapta...si doresc 0px stanga-sus....
Cod HTML:
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../css/common.css" />
<link type="text/css" rel="stylesheet" href="../css/detalii.css" />
</head>
<body>
<div class="header">Bine aţi venit</div>
Cod CSS:
.body{
width:1000px;
margin:0 auto;
padding:0;
}
.header{
width:1000px;
height:60px;
background-color:black;
}
Problema este ca am vreo 5px margin sus stanga si dreapta...si doresc 0px stanga-sus....
Cod HTML:
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../css/common.css" />
<link type="text/css" rel="stylesheet" href="../css/detalii.css" />
</head>
<body>
<div class="header">Bine aţi venit</div>
Cod CSS:
.body{
width:1000px;
margin:0 auto;
padding:0;
}
.header{
width:1000px;
height:60px;
background-color:black;
}