19-12-2010, 22:39
Witam, jestem początkujący w css. Problem dotyczy obrazka, który nie chce się wyświetlać w tle diva, headera. Ścieżka jest prawidłowa, wielkość liter także, próbowałem już z poleceniem background-image, przeglądałem kilka razy kod i nic z tego... Czy ktoś może wie co robię źle?
html, body, ul, li { margin: 0; padding: 0;
}
h1, h2, ul, li, p { margin: 0; padding: 0; font-size: 1em; line-height: 1.5em;
}
body { font: 0.625em/1.5em tahoma, verdana, arial, sans-serif;
}
.content { width: 960px;
}
#header {
position: relative;
height: 201px;
border-bottom: 1px solid #fff;
background: #99ccff;
}
#header h1 a {
display: block;
width: 309px;
height: 75px;
background: url('../obrazki/logo.gif') no-repeat;
position: absolute;
top: 63px;
left: 56px;
text-indent: -666px
}
html, body, ul, li { margin: 0; padding: 0;
}
h1, h2, ul, li, p { margin: 0; padding: 0; font-size: 1em; line-height: 1.5em;
}
body { font: 0.625em/1.5em tahoma, verdana, arial, sans-serif;
}
.content { width: 960px;
}
#header {
position: relative;
height: 201px;
border-bottom: 1px solid #fff;
background: #99ccff;
}
#header h1 a {
display: block;
width: 309px;
height: 75px;
background: url('../obrazki/logo.gif') no-repeat;
position: absolute;
top: 63px;
left: 56px;
text-indent: -666px
}