andrisp Posted July 27, 2005 Report Share Posted July 27, 2005 #kaste { float:left; } #kaste div { left-margin: 10px; } <div id="kaste"> <div> </div> </div> ieksh IE left-margin raadaas apt. divreiz plataaks nekaa ieksh Operas vai Firefox .. kas vareetu buut par iemeslu ? Link to comment Share on other sites More sharing options...
Kristabs Posted July 27, 2005 Report Share Posted July 27, 2005 (edited) man neliela aizdoma, ka jaanodefinee left-margin-style -- UPD: fuj, tas bija ar borderiem, kad katrs paarluuks savu defoulto met, ja nav nodefineets viens Edited July 27, 2005 by Kristabs Link to comment Share on other sites More sharing options...
bubu Posted July 27, 2005 Report Share Posted July 27, 2005 Tāpēc, ka tāda left-margin nav, bet gan ir margin-left! Link to comment Share on other sites More sharing options...
andrisp Posted July 27, 2005 Author Report Share Posted July 27, 2005 Tāpēc, ka tāda left-margin nav, bet gan ir margin-left! 19929[/snapback] eh te nepareizi ierakstiiju, bet kodaa ir pareizi. Link to comment Share on other sites More sharing options...
bubu Posted July 27, 2005 Report Share Posted July 27, 2005 Tad iespējams, ka body margin traucē. uztaisi cssā: * { padding: 0px; margin: 0px; } Link to comment Share on other sites More sharing options...
andrisp Posted July 27, 2005 Author Report Share Posted July 27, 2005 Tad iespējams, ka body margin traucē.uztaisi cssā: * { padding: 0px; margin: 0px; } 19931[/snapback] ir jau, iestaadiiju arii aareejam div padding: 0, ja nu kas, bet vienalga Link to comment Share on other sites More sharing options...
bubu Posted July 27, 2005 Report Share Posted July 27, 2005 Un nekā cita izņemot tos divus tev nav, tb tā kā piemērā? Moš tas traucē? Link to comment Share on other sites More sharing options...
andrisp Posted July 27, 2005 Author Report Share Posted July 27, 2005 ir saturs arii. ieksheejaam divam arii ir float: left un kad iznjeemu aaraa taa uzreiz raadiijaas pareizi, bet man ir vajadziigs tas float: left. Kaapeec vinjs dubultoja margin-left atribuutu ? Link to comment Share on other sites More sharing options...
bubu Posted July 27, 2005 Report Share Posted July 27, 2005 tāpēc ka ".klase div" selektors nozīmē jebkuram div elementam, kuram parenta vai grandparenta, vai grandgrand...parenta klase ir "klase". Ja gribi tikai tiešo parentu, tad vajag ".klase > div", bet manurpāt šito IE neatbalsta. Vajadzēs vien iekšējiem diviem arī klases definēt. Link to comment Share on other sites More sharing options...
andrisp Posted July 27, 2005 Author Report Share Posted July 27, 2005 nu jaa taa jau laikam bija gan.. nu paldies ka paliidzeeji Link to comment Share on other sites More sharing options...
Recommended Posts