Jackal Posted August 20, 2007 Report Share Posted August 20, 2007 (edited) Ir tabula, kurā ir bildes. Kā bildes var vertikāli iecentrēt ar css? vertical-align nestrādā. Edited August 20, 2007 by Jackal Link to comment Share on other sites More sharing options...
Delfins Posted August 20, 2007 Report Share Posted August 20, 2007 td.margin = auto? Link to comment Share on other sites More sharing options...
player Posted August 20, 2007 Report Share Posted August 20, 2007 (edited) text-align: center; Un vispār, kāpēc TU mums neparādi nekādu kodu? Neko!!!!!!!!!!!!!!! #2 Tavs variants vispār nestrādā.... fuuu kauns... Ja, ko nepareizi, esmu atbldēis, tad tikai tavas vainas pēc, ka nēesi normāli paskaidrojis, ko gribi!!!! Nekādus 'sample' nēesi devis!!!!!! Edited August 20, 2007 by player Link to comment Share on other sites More sharing options...
Jackal Posted August 20, 2007 Author Report Share Posted August 20, 2007 (edited) Nu lūdzu te tev būs kods: .css td{ vertical-align: middle; } .html <table> <tr> <td> <a href="#"><img src="bildes/bilde.gif" /></a> </td> </tr> </table> Izlaboju! Edited August 20, 2007 by Jackal Link to comment Share on other sites More sharing options...
player Posted August 20, 2007 Report Share Posted August 20, 2007 (edited) .td{ vertical-align: middle; } <table> <tr> <td> <a href="#"><img src="bildes/bilde.gif" /></a> </td> </tr> </table> wtf? Edited August 20, 2007 by player Link to comment Share on other sites More sharing options...
Jackal Posted August 20, 2007 Author Report Share Posted August 20, 2007 text-align:center centrē tikai horizontāli Link to comment Share on other sites More sharing options...
player Posted August 20, 2007 Report Share Posted August 20, 2007 (edited) kas ir vertikāli centrēts objekts? #8 Bet man uz IE nē! F... OFF Edited August 20, 2007 by player Link to comment Share on other sites More sharing options...
Delfins Posted August 20, 2007 Report Share Posted August 20, 2007 TD-šnikā pa vidu.... `margin:auto` man nostrādāja uz FF. Link to comment Share on other sites More sharing options...
Jackal Posted August 20, 2007 Author Report Share Posted August 20, 2007 (edited) Kļūdijos izrādās, ka text-align:center tomēr iecentrē arī vertikāli. Tagad viss strādā. Paldies par palīdzību Edited August 20, 2007 by Jackal Link to comment Share on other sites More sharing options...
player Posted August 20, 2007 Report Share Posted August 20, 2007 (edited) Tabulas pēc 'default ' visu centrē pa vidu, bet pie pašas kreisās malas. #11 'vertical-align' strādā, bet autors vnk saputorjies savās domās... Edited August 21, 2007 by player Link to comment Share on other sites More sharing options...
andrisp Posted August 21, 2007 Report Share Posted August 21, 2007 player, tu tāds nevorzs pagadījies.. PS. vertical align būtu jāstrādā. Link to comment Share on other sites More sharing options...
Recommended Posts