![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 602 Pomógł: 30 Dołączył: 1.08.2007 Skąd: Nowy Sącz Ostrzeżenie: (0%) ![]() ![]() |
Witam mam taki CSS
i jeśli mam rozdzielczość 1024x768 to jest OK ale jeśli ja pracuję na nowym komputerze(1152x864) to strona jest po prawej stronie i chce ją wyśrodkować |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 602 Pomógł: 30 Dołączył: 1.08.2007 Skąd: Nowy Sącz Ostrzeżenie: (0%) ![]() ![]() |
OK przerobiłem na left i right moj lay do zamknięcia
Kod body {
background-color: #000; margin: 0; padding: 0; text-align:center; } div { font: verdana 12px #000; position:relative; } #container { margin:0 auto; padding:0 5px 0 5px; position:relative; width:989px; text-align:left; clear: both; } #naglowek { background: url(images/header.jpg) no-repeat; width:989px; height:300px; margin-top:15px; } #lewo { background: url(images/leftMenu.jpg) repeat-y; width:187px; float:left; min-height: 500px; } #lewo_linia { background: url(images/leftLine.jpg) repeat-y; width:13px; float:left; min-height: 500px; } #prawo { background: url(images/rightMenu.jpg) repeat-y; width:187px; float:right; min-height: 500px; } #prawo_linia { background: url('images/rightLine.jpg') repeat-y; width:13px; float:left; min-height: 500px; } #srodek { width:589px; float:left; } #stopka { clear:both; text-align:center; } |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 03:51 |