ebw Posted March 14, 2007 Report Share Posted March 14, 2007 varbuut kaads var izliidzeet. meegjinu te uztaisiit te taadu lietu, kaa klikojot uz bildes atveras div. viss itkaa buutu labi liidz briidim kad divaa ieliek iekshaa tabulu. tad uzreiz viss dizains tiek izstaipiits. pats vinjsh apmeeram shaads (normal raadaas): <div id="someDiv" class="floater"> some text in div </div> klase vinjam: .floater { position:absolute; background-color: #CCC; left:216px; top:256px; height: 28px; width:98px; } es nez. varbuut tai tabulai kas divaa ir kautkas css janoraada atseviski? kur vareetu buut tas triks? jau ieprieksh pateicos! Link to comment Share on other sites More sharing options...
martins256 Posted March 14, 2007 Report Share Posted March 14, 2007 pamēģini display:block; overflow:hidden; es gan nezinu vai tas līdzēs jo css gandrīz nemāku :/ Link to comment Share on other sites More sharing options...
andrisp Posted March 14, 2007 Report Share Posted March 14, 2007 Ko nozīmē "viss dizains tiek izstaipiits." ? Un varbūt tev tā tabula vienkārši neietilpst iekš 28x98 pikseļiem. Link to comment Share on other sites More sharing options...
Ā§°ģčļ€’’ Posted March 15, 2007 Report Share Posted March 15, 2007 (edited) iemet visu css tejaa ko raadi nav nekaada sakara ar to effektu kuru gribi panaakt. Edited March 15, 2007 by Ā§°ģčļ€’’ Link to comment Share on other sites More sharing options...
ebw Posted March 15, 2007 Author Report Share Posted March 15, 2007 nu teiksim divs ir nopozicioneets peec left un top. vinjsh arii atrodas tur kur vinjam jaabuut.. divs <div id="someDiv" class="floater"> some text in div </div> css .floater { position:absolute; background-color: #CCC; left:216px; top:256px; height: 28px; width:98px; } bet kad ieliek tai pashaa divaa tabulu <div id="someDiv" class="floater"> <table> <tr> <td>some text in div table</td> </tr> </table> </div> tad tas divs paraadaas pavisam kautkur malaa, nevis tur kur vinjam ir jaatrodas (peec top un left).. kapeec divs ar tabulu neraadaas tajaa pashaa vietaa kur div bez tabulas, bet kaukur malaa? Link to comment Share on other sites More sharing options...
andrisp Posted March 15, 2007 Report Share Posted March 15, 2007 Nez, man viss worko pareizi gan uz IE6/7, gan uz FF2. Kā arī nekas nemainās, ja izmanto Standarts režīmu, vai Quirks režīmu. Link to comment Share on other sites More sharing options...
Ā§°ģčļ€’’ Posted March 15, 2007 Report Share Posted March 15, 2007 (edited) iznem laukaa class="floater" no otraa div class="floater" atkaarojas tapeec vinsh paraadaas citur top left noraadiitajos attaalumos <div id="someDiv" class="floater"> <table> <tr> <td>some text in div table</td> </tr> </table> </div> kapeec divs ar tabulu neraadaas tajaa pashaa vietaa kur div bez tabulas, bet kaukur malaa? Edited March 15, 2007 by Ā§°ģčļ€’’ Link to comment Share on other sites More sharing options...
andrisp Posted March 15, 2007 Report Share Posted March 15, 2007 Ā§°ģčļ€’’, no kāda otrā div ? Link to comment Share on other sites More sharing options...
v3rb0 Posted March 15, 2007 Report Share Posted March 15, 2007 Ā§°ģčļ€’’, kā Tavu nicku izrunāt? :) Link to comment Share on other sites More sharing options...
ebw Posted March 15, 2007 Author Report Share Posted March 15, 2007 tur ir tikai 1 divs.. tikai vienaa variantaa attelojas, bet tabulas variantaa nee.. Link to comment Share on other sites More sharing options...
Ā§°ģčļ€’’ Posted March 15, 2007 Report Share Posted March 15, 2007 (edited) ta es laikam nesaprotu ko tu gribi kas tev tur nav kaa vajag http://img218.imageshack.us/my.php?image=dfgir2.jpg lai teksts buutu vienaa rindaa ? Edited March 15, 2007 by Ā§°ģčļ€’’ Link to comment Share on other sites More sharing options...
andrisp Posted March 15, 2007 Report Share Posted March 15, 2007 ebw, uz visiem browseriem ? Iemet iekš paste.php.lv visu kodu (Ar visiem Doctype, html, head, body utt), kas tev neworko normāli. Link to comment Share on other sites More sharing options...
ebw Posted March 15, 2007 Author Report Share Posted March 15, 2007 tiko laikam beidzot sanaaca. noliku pashu divu (kas show/hide) gandriiz koda beigaas un izskataas ka tagad ies taa lieta. tikuntaa paldies! Link to comment Share on other sites More sharing options...
Ā§°ģčļ€’’ Posted March 15, 2007 Report Share Posted March 15, 2007 citiem par pieminu! http://archivist.incutio.com/viewlist/css-discuss/68100 Link to comment Share on other sites More sharing options...
Recommended Posts