Pentiums Posted May 21, 2008 Report Share Posted May 21, 2008 Problēma pavisam vienkārša, gribu lai teksts "Sveiki" parādas ekrāna centrā ar align un valign.. bet valign nez kapēc nestrādā :( <table width="100%"> <tr><td align="center" valign="center">Sveiki</td></tr> </table> Link to comment Share on other sites More sharing options...
Sephy Posted May 21, 2008 Report Share Posted May 21, 2008 valign nav tas pats kas vertical-align lol?! ja jau centraa tad jau laikam vien naksies centret taa Link to comment Share on other sites More sharing options...
Pentiums Posted May 21, 2008 Author Report Share Posted May 21, 2008 Labrīt. Link to comment Share on other sites More sharing options...
andrisp Posted May 21, 2008 Report Share Posted May 21, 2008 Gūglē būtu paskatījies uzreiz saprastu, ka tāda "center" vērtība nav. http://www.w3schools.com/htmldom/prop_tabledata_valign.asp tabledataObject.vAlign=top|middle|bottom|baseline Link to comment Share on other sites More sharing options...
Evi Posted May 21, 2008 Report Share Posted May 21, 2008 Tev saakumaa taa table jaauztaisa height:100%, tad jaaliek tavs valign peec shaada principa Link to comment Share on other sites More sharing options...
Mikijs Posted May 21, 2008 Report Share Posted May 21, 2008 <table style="width:100%;height:100%;" align="center" valign="middle"> <tr> <td> My dog`s name is Postgree </td> </tr> </table> Link to comment Share on other sites More sharing options...
marcis Posted May 21, 2008 Report Share Posted May 21, 2008 Es gan darītu kā šis puisis saka: http://www.jakpsatweb.cz/css/... Link to comment Share on other sites More sharing options...
andrisp Posted May 21, 2008 Report Share Posted May 21, 2008 Vēl labāk - google: css dead center Link to comment Share on other sites More sharing options...
Evi Posted May 21, 2008 Report Share Posted May 21, 2008 (edited) Var jau veel arii taa meegjinaat centreet vertikaali, bet nu tad jau labaak table lielot :] Edited May 21, 2008 by Evi Link to comment Share on other sites More sharing options...
marrtins Posted May 21, 2008 Report Share Posted May 21, 2008 Es gan darītu kā šis puisis saka: http://www.jakpsatweb.cz/css/... Muah, a Tu paskaties to kodu.. Vieni vienīgi haki, plus kretīnisks tas kods - šesas rindas css un pluss markups - nu kur prāts. Ar tabuliņām tik smuki un loģiski. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted May 21, 2008 Report Share Posted May 21, 2008 Ar tabuliņām tik smuki un loģiski. :) Taa arii ir teiksmi vienkarsha login forma kas janovieto pashaa centraa (name /password) elementarak & vienkarshaak ir izmantojot tabulas .... aatri / logjiski un vienkarshi .... --- ja grib izvirst tad, vel jau var centreet ar JS ;) Link to comment Share on other sites More sharing options...
andrisp Posted May 21, 2008 Report Share Posted May 21, 2008 Nez, man tā dead center metode ari liekas ļoti vienkārša. :) Link to comment Share on other sites More sharing options...
marrtins Posted May 21, 2008 Report Share Posted May 21, 2008 ..un neloģiska. Tipo - iekaļam reizrēķinu, bet sajēgas nekādas. Vismaz man tie CSS hakki konkrēti zajebaļi. Link to comment Share on other sites More sharing options...
mefisto Posted May 22, 2008 Report Share Posted May 22, 2008 To, ka tev nav nekādas sajēgas, var pamanīt. Varu tikai just līdzi tiem , kam pēc tam ir jāstrādā ar to "smuko un loģisko" layout'u. Link to comment Share on other sites More sharing options...
andrisp Posted May 22, 2008 Report Share Posted May 22, 2008 ..bet sajēgas nekādas e ? Link to comment Share on other sites More sharing options...
Recommended Posts