![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 466 Pomógł: 11 Dołączył: 21.09.2006 Skąd: Szczecin Ostrzeżenie: (0%) ![]() ![]() |
Mam taki kod html:
i CSS: Kod body { background-color: #b8bcbf; } #main { margin: 0 auto; width: 800px; background-color: #bfc6ca; } #head { margin: 0 auto; width: 784px; height: 359px; padding-top: 11px; clear: both; } #content { width: 783px; margin-left: 8px; background-color: #a8b1b6; overflow:hidden; } #cont1{ width: 248px; float: left; } #lmenu { width: 202px; float: left; } #smenu { width: 46px; float: left; } #cont{ float: left; display: block; width: 535px; } #cont_main{ width: 524px; height: 247px; margin-top: 5px; background-color: #ffffff; clear: both; } #cont_pas{ width: 535px; height: 198px; display: block; background-image: url(img/menuk.jpg); margin-top: 10px; } i nie pokazuje mi tła diva cont-pas w innych divach też nie działa:/ Jak to naprawić? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 466 Pomógł: 11 Dołączył: 21.09.2006 Skąd: Szczecin Ostrzeżenie: (0%) ![]() ![]() |
Zmieniłem układ wygląda tak:
HTML:
CSS: Kod body { background-color: #b8bcbf; } #main { margin: 0 auto; width: 800px; background-color: #bfc6ca; } #head { margin: 0 auto; width: 784px; height: 359px; padding-top: 11px; clear: both; } #content { width: 783px; margin-left: 8px; background-color: #a8b1b6; overflow:hidden; } #lmenu { width: 202px; float: left; overflow:hidden; } #cont_1{ width: 581px; float: left; overflow:hidden; } #cont_1a{ width: 524px; height: 247px; background-color: #ffffff; margin-left: 46px; overflow:hidden; margin-top: 5px; } #cont_1b{ width: 581px; height: 216px; background-image: url("img/menuk.jpg"); margin-top: 10px; } #cont_1c{ width: 581px; height: 105px; background: #ff0000; } #cont_11{ vertical-align: bottom; width: 581px; height: 50px; background: #00ff00; } Adres strony: http://www.auto-opinie.pl/gaz/index.php Tła jak widać nie ma |
|
|
![]() ![]() |
![]() |
Aktualny czas: 8.10.2025 - 04:16 |