|
(X)HTML, JavaScript, DHTML, XML, CSS Client scripting tehnologije, Dynamic HTML, Cascading Stylesheets, XML i standardi |
|
Alati teme | Način prikaza |
09. 08. 2009. | #1 |
član
Certified
|
IE ne registruje top i bottom margine
Imam kod sledeceg tipa.
Stil: Kôd:
.kb_main { width: 810px; overflow: hidden; zoom: 1; } .kb_entry { border-right: 2px solid #EDEDED; margin: 20px 5px; width: 250px; float: left; display: inline; } .kb_entry p { margin: 5px; } Kôd:
<!-- container --> <div class="kb_main"> <div style="border-bottom: 1px solid #EDEDED; overflow: hidden; zoom: 1;"> <!-- red --> <div class="kb_entry"> <!-- polje --> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p> </div> <div class="kb_entry"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p> </div> <div class="kb_entry"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p> </div> </div> <div style="border-bottom: 1px solid #EDEDED; overflow: hidden; zoom: 1;"> <div class="kb_entry"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p> </div> <div class="kb_entry"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p> </div> <div class="kb_entry"> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, </p> </div> </div> </div> firefox(i ostali) ie 6,7 i 8 Gde je problem? Unapred hvala! |
09. 08. 2009. | #2 |
Miljenko Rebernišak
Qualified
Datum učlanjenja: 05.03.2009
Lokacija: Jagodina-Beograd
Poruke: 191
Hvala: 4
25 "Hvala" u 22 poruka
|
Zasto tako radi ne znam, ali problem mozes resiti dodavanjem
padding-top:20px;padding-bottom:20px; u div Kôd:
<div style="border-bottom: 1px solid #EDEDED; overflow: hidden; zoom: 1;padding-top:20px;padding-bottom:20px;"> |
|
|
Slične teme | ||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
Bottom poravnanje unutar nested DIV-a | ljtruba | Sva početnička pitanja | 3 | 02. 02. 2010. 17:52 |
.al domen moze da se registruje | torbica | Domain Name Service (DNS) | 10 | 29. 04. 2009. 20:52 |
.mk takodje moze da se registruje | torbica | Domain Name Service (DNS) | 2 | 24. 04. 2009. 22:30 |
CSS: kako najerati IE 6/7 da ispravno korsiti margine i razmake za <hr /> tag | mb_sa | (X)HTML, JavaScript, DHTML, XML, CSS | 3 | 22. 02. 2009. 09:15 |