tk1 Posted February 11, 2007 Report Share Posted February 11, 2007 Tā sataisiju mājaslapu, taisiju un testēju to uz firefox, bet tgd kā pie drauga ieslēdzās IE, un mājaslapa izskatijās briesmīgi. Visi Div ir viens zem otra, nevis blakus kā tas ir uz firefox, tgd domāju varbūt es dariju kā ko nepareizi, un kā tad 3 div tagus var novietot vienu blakus otram un vel trešo blakus :) būtu labi ja man kāds to paskaidrotu :) Jav iepriekš paldies!!!! _TK*1 Link to comment Share on other sites More sharing options...
andrisp Posted February 11, 2007 Report Share Posted February 11, 2007 float: left; vai float: right; A kā tu viņus novietoji blakus viens otram ? Parādi kodu. Link to comment Share on other sites More sharing options...
tk1 Posted February 11, 2007 Author Report Share Posted February 11, 2007 (edited) css?? #tab1 { padding-left:3px; padding-right:3px; float:left; border:0px; width:143px; margin-left:20px; padding: 0px; background:url(http://warez.sytes.net/bg_td_one.jpg); } #tab2 { padding-left:3px; padding-right:3px; float:right; border:0px; width:143px; margin-right:651px; padding: 0px; background:url(http://warez.sytes.net/bg_td_one.jpg); } #tab3 { margin-left: auto; margin-right: auto; float:none; margin-left:319px; border:0px; width:625px; background:#fff; } pati lapa http://warez.sytes.net/web/ Ok ar diviem tas darās tā : div.floatl { border: 1px dashed #FF0000; color: #000000; text-align: center; width: 100px; margin: 0px; padding: 4px; float: left; } div.floatr { border: 1px dashed #FF0000; color: #000000; text-align: center; width: 100px; margin: 0px; padding: 4px; float: right; } <div class="floatl">1</div> <div class="floatl">2</div> Ko man darīt ar trešo??? Edited February 11, 2007 by tk1 Link to comment Share on other sites More sharing options...
Ā§°ģčļ€’’ Posted February 11, 2007 Report Share Posted February 11, 2007 (edited) vari lietot arī position: aboslute; priekš, tiem div un ar left, top noteikt viņu atrašanos vietu. Kas attiecas uz IE tad vari tam izmantot citu stilu head sadaļā raksti: <!--[if IE 6]> IE stils <![endif]--> Edited February 11, 2007 by Ā§°ģčļ€’’ Link to comment Share on other sites More sharing options...
Stopp Posted February 11, 2007 Report Share Posted February 11, 2007 display: inline; http://php.lv/f/index.php?showtopic=5511 - šeit ir izmalts laikam jau viss, kas un kā par šo tēmu. Link to comment Share on other sites More sharing options...
andrisp Posted February 11, 2007 Report Share Posted February 11, 2007 tk1, neesmu pārliecināts, bet man liekas, ka tev ir šis gļuks: http://www.positioniseverything.net/explor...led-margin.html Vispār labāk pamēģini visiem tiem diviem pielikt float: left; Link to comment Share on other sites More sharing options...
tk1 Posted February 11, 2007 Author Report Share Posted February 11, 2007 Nu paldies rītā paskatīšos ;) -TK*1 Link to comment Share on other sites More sharing options...
king999 Posted February 19, 2007 Report Share Posted February 19, 2007 Parse error: parse error, unexpected $end in C:\AppServ\www\web\filedb.php on line 21 Lol ;) Link to comment Share on other sites More sharing options...
andrisp Posted February 19, 2007 Report Share Posted February 19, 2007 king999, neiebraucu ? Link to comment Share on other sites More sharing options...
Recommended Posts