Peeter Posted February 24, 2005 Report Share Posted February 24, 2005 Vai ir iespejams uztaisit tadu klasi, kura butu visi šie parametri <table cellpadding="1" cellspacing="0" border="0" width=75% align="right"> Link to comment Share on other sites More sharing options...
рпр Posted February 24, 2005 Report Share Posted February 24, 2005 ir iespeejams Link to comment Share on other sites More sharing options...
Venom Posted February 24, 2005 Report Share Posted February 24, 2005 neesmu parliecināts par cellpadding/spacing, un align konformitāti ar W3C validitāti Link to comment Share on other sites More sharing options...
bubu Posted February 24, 2005 Report Share Posted February 24, 2005 (edited) Man sanāca kautkā šādi (testēju tikai uz FF): <html><head> <style> .blah { width: 75%; border-collapse: collapse; } .blah tr td { border: 0px; padding: 1px; } </style> </head> <body> <table class="blah"> <tr><td>row1,1 as dasd asasdas das asd</td><td>row2,2</td></tr> <tr><td>a</td><td>blahblah blahblah</td></tr> </table> </body></html> P.S. align TABLE tagam skaitās novecojis atribūts. Nav labi tādus lietot. Veonom'am: cellspacing var ar border-spacing panākt (ja border-collapse ir seperate) un cellpadding ar padding. Edited February 24, 2005 by bubu Link to comment Share on other sites More sharing options...
Venom Posted February 24, 2005 Report Share Posted February 24, 2005 2 bubu:es laikam censtos likt att. margin/padding uz table td, jo border-spacing nav prātā iesēdies, laikam tāpēc ka tas nav cross-browserīgs (CSS2, IE n/a) Link to comment Share on other sites More sharing options...
рпр Posted February 24, 2005 Report Share Posted February 24, 2005 nu lielaako dalju jau var ar marginiem un paddingiem sataisiit.. Link to comment Share on other sites More sharing options...
Peeter Posted February 24, 2005 Author Report Share Posted February 24, 2005 Paldies. Vel viens jautajums ko lietot, lai tabulu butu labaja puse Link to comment Share on other sites More sharing options...
bubu Posted February 24, 2005 Report Share Posted February 24, 2005 Ko nozīmē labajā pusē? Link to comment Share on other sites More sharing options...
Kavacky Posted February 24, 2005 Report Share Posted February 24, 2005 Man domāt, lapas labajā pusē piespiestos klāt. Link to comment Share on other sites More sharing options...
Peeter Posted February 24, 2005 Author Report Share Posted February 24, 2005 bubu tu teici, ka table align lietot nav labi. tad nu es veletos zinat ko lietot Link to comment Share on other sites More sharing options...
bubu Posted February 24, 2005 Report Share Posted February 24, 2005 pievieno .blah { ... float: right; } Link to comment Share on other sites More sharing options...
Venom Posted February 25, 2005 Report Share Posted February 25, 2005 vai apkārt <div align="right"></div> Link to comment Share on other sites More sharing options...
Recommended Posts