werd Posted July 26, 2007 Report Share Posted July 26, 2007 (edited) Nevaru ielikt tabulu lapas centrā, <body> <table border="1" align="center" width="100" height="100"> <tr> <td></td> </tr> </table> </body> liekot "centre" vietā "right", viss ok, bet centra nevaru dabut, ari ar css maginaju(float) nekadi nesanak,agrak viss bij ok! Edited July 26, 2007 by phpjanis Link to comment Share on other sites More sharing options...
andrisp Posted July 26, 2007 Report Share Posted July 26, 2007 amēģini center :). Vai arī CSS margin: auto; Link to comment Share on other sites More sharing options...
werd Posted July 26, 2007 Author Report Share Posted July 26, 2007 nea baidzot sanaca kkads glujks! Link to comment Share on other sites More sharing options...
marcis Posted July 27, 2007 Report Share Posted July 27, 2007 <div align="center">...</div> Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 27, 2007 Report Share Posted July 27, 2007 marcis --> tika jautaats par TABULU nevis DIV !!! phpjanis --> ko gribi panaakt? lai teksts buutu centraa? tad neliec align pie TABLE bet gan pie TD !!! ja pashu tabulu iecentreet tad : <center> <table.... </center> Link to comment Share on other sites More sharing options...
mefisto Posted July 27, 2007 Report Share Posted July 27, 2007 (edited) FYI, grey_wolf, <center> tags tiek uzskatīts par novecojušu (deprecated) iekš html 4.01 un tāds neeksistē iekš XHTML 1.0 Strict. phpjanis, use css =P Edited July 27, 2007 by mefisto Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 27, 2007 Report Share Posted July 27, 2007 <center> tags tiek uzskatīts par novecojušu (deprecated) iekš html 4.01 un tāds neeksistē iekš XHTML 1.0 Strict. pag nejauc 2 dazjadas lietas HTML un XHTML kas ir html pieraksts XML varintaa --> taatad sekojoshi --> izmanto katvai tagu <SUPER CENTRESHANA> :P Link to comment Share on other sites More sharing options...
marcis Posted July 27, 2007 Report Share Posted July 27, 2007 es domāju, ja tabulu jādabū lapas centrā tad visvieglāk to izdarīt ar divu Link to comment Share on other sites More sharing options...
mefisto Posted July 27, 2007 Report Share Posted July 27, 2007 (edited) pag nejauc 2 dazjadas lietas HTML un XHTML kas ir html pieraksts XML varintaa --> taatad sekojoshi --> izmanto katvai tagu <SUPER CENTRESHANA>:P Un kāds tam ar to visu sakars ? Un izmantojamos tagus nosaka doctype's ar dtd. Liekas tu pats kaut ko pamatīgi jauc. es domāju, ja tabulu jādabū lapas centrā tad visvieglāk to izdarīt ar divu Vai nepietiek jau ta daudz tagu ? Jo sevišķi tāpēc, ka autors uzskata, ka laba mājaslapa ir tā, kas taisīta ar tabulām. edit: negribējās lieki spamot. grey_wolf, nu to, ko šamais izmanto, nevar pateikt, jo ir pat pietiekoši redzēts kad kāds izmanto html pierakstu bet uzkabina xhtml doctype ... Edited August 21, 2007 by mefisto Link to comment Share on other sites More sharing options...
player Posted July 27, 2007 Report Share Posted July 27, 2007 var shitaa body { width: 700px; margin: 0 auto; text-align: center; /* ie fix */ } Link to comment Share on other sites More sharing options...
Labrador Posted August 21, 2007 Report Share Posted August 21, 2007 Pats prastākais veids!! <body> <div align="center"> <table border="1" align="center" width="100" height="100"> <tr> <td></td> </tr> </table> </div> </body> Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 21, 2007 Report Share Posted August 21, 2007 Un izmantojamos tagus nosaka doctype's ar dtd.Liekas tu pats kaut ko pamatīgi jauc. nee nejaucu gan autors izmanto HTML pierakstu nevis //tāds neeksistē iekš XHTML 1.0 Strict.// Un uz to arii noraadiju... Link to comment Share on other sites More sharing options...
Recommended Posts