![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 9 Pomógł: 0 Dołączył: 23.09.2008 Ostrzeżenie: (0%) ![]() ![]() |
Cześć. Mam taki kod:
Kod <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>TEST</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style type="text/css"> ol {background: #aaa; list-style-type: none; text-align: center; padding: 0; } ol li {background: #777; display: inline; padding: .5em; } </style> </head> <body> <ol> <li>Jeden</li> <li>Dwa</li> <li>Trzy</li> <li>Cztery</li> <li>Pięć</li> <li>Sześć</li> </ol> </body> </html> Pytanie:
Ten post edytował mex 26.10.2008, 12:46:41 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 1 202 Pomógł: 117 Dołączył: 13.04.2007 Skąd: 127.0.0.1 Ostrzeżenie: (0%) ![]() ![]() |
Witaj!
Sformatuj proszę swój kod. Na chwilę obecną jest strasznie nieczytelny. Chcesz pomocy - szanuj czas innych! Pozdrawiam! edit: Byłeś szybszy (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) Zamiast display: inline spróbuj float: left; Żeby wyśrodkować powinno wystarczyć margin: auto; dla ol |
|
|
![]() ![]() |
![]() |
Aktualny czas: 14.10.2025 - 17:06 |