![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 45 Pomógł: 0 Dołączył: 5.09.2009 Ostrzeżenie: (0%) ![]() ![]() |
Do loga mam przypisane float: left w divie. Chciałbym, żeby cały div #top był szeroki jak #wrapper, bo jak na razie to div jest szeroki na tyle ile jest obrazek. W tym celu muszę użyć w CSS atrybutu height.
Czy jest poprawne użycie height w takiej sytuacji? HTML CSS Kod #wrapper {
margin: auto; width: 1004px; } #top { background-color: #000; color: #fff; height: 65px; } #photos { clear: both; height: 150px; } #logo { float: left; } img { border: none; } Ten post edytował mentoos 9.09.2010, 21:45:37 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 02:19 |