<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="pl"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <style type="text/css"> body { padding: 0; margin: 0; overflow: auto; } div { font: 13px "trebuchet ms", helvetica, sans-serif; color: #585858; } a { text-decoration: none; color: #000; font: 12px tahoma, verdana, arial, sans-serif; } a:hover { text-decoration: underline; color: #575757; font: 12px tahoma, verdana, arial, sans-serif; } img {vertical-align: middle; border: 0px; } h1,h2,h3,h4,h5,h6 { font-weight: normal; letter-spacing: -1px; text-transform: lowercase; padding: 0; margin: 0; } h3,h4,h5,h6 { color: #184366; } #page { width: 980px; border: 0px solid #000; display: table; margin: 0 auto; } #header { border-left: 1px solid #000; border-right: 1px solid #000; display: block; width: 230px; overflow: hidden; float: left; margin-left: 10px; padding: 10px; } #header2 { border-right: 1px solid #000; display: block; width: 230px; overflow: hidden; float: left; margin-left: 10px; padding: 10px; } #header3 { border-left: 1px solid #000; display: block; width: 434px; overflow: hidden; float: left; padding: 10px; } .form_div1 { width: 100px; float: left; } .form_div2 { } </style> </head> <body> <div id="page"> <div id="header3"> <form method="post" action="index.php?id=step1"> </form> </div> <div id="header"> ln_inst_step1</div> <div id="header2"> </div> </body> </html>
Jeżeli wyrzucę <option> to układ wraca do poprzedniego stanu, nie wiem dlaczego sie tak dzieje?
Prosze też o ocenę tego szablonu, bo nie wiem czy dobrze go stworzyłem.
Już sobie poradziłem trzeba było wywalić display: table z #page