Cześć,
Zastanawiam sie dlaczego element header oraz h1 dostosowuja sie do ekranu a ul > li juz nie.
Fragment kodu css
header {
height: 150px;
background: #CC66FF;
overflow: auto;
margin-bottom: 1%;
margin-top: 2%;
border-radius: 5px;
}
header h1 {
height: 30%;
float: left;
margin-left: 1%;
}
header ul {
;
margin-top: 9%;
}
ul li {
float: left;
list-style-type: none;
background: #666;
width: 8%;
padding: 0.5%;
color: white;
border-right: 2px solid #CC66FF;
border-radius: 5px;
}
Użytkownik Kage edytował ten post 29 stycznia 2015 - 17:39














