-=HELLBENDER=- Posted April 30, 2012 Report Share Posted April 30, 2012 Ir tabula, kurai nevajadzētu būt balti borderi, bet tomēr uz firefox tie ir.. Chrome (Tā kā vajadzētu būt): Firefox: Tabula; <table style="border:0px solid #05463f;" border="2" bordercolor="#05463f" cellspacing="2" cellpadding="2" width="300"> <tr> <td>Pilsētas informācija</td> </tr> </table> <table style="border:0px solid #05463f;" border="2" bordercolor="#05463f" cellspacing="1" cellpadding="1" width="300"> <tr> <td>Resursu ieguve</td> <td>x122 / stundā</td> </tr> <tr> <td>Koordinātes</td> <td>1:1:27</td> </tr> </table> Kas ugunslapsai nepatīk un kā to labot? Link to comment Share on other sites More sharing options...
ezis Posted May 1, 2012 Report Share Posted May 1, 2012 (edited) Kāpēc divreiz darīt vienu un to pašu!? Izmanto saturīgāku css! btw, to visu var iegrūst vienā tabulā, ja ir vēlme tās izmantot! Edited May 1, 2012 by ezis Link to comment Share on other sites More sharing options...
yancho Posted May 1, 2012 Report Share Posted May 1, 2012 cellspacing un cellpadding kam tev vajadzīgi, liec 0. Link to comment Share on other sites More sharing options...
vbz Posted May 1, 2012 Report Share Posted May 1, 2012 formatē tabulas un šūnas ar css: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Untitled 1</title> <style> table {border: none; width: 300px;} td {border: 1px solid #05463f;} .one td {margin: 2px; padding: 2px;} .two td {margin: 1px; padding: 1px;} </style> </head> <body> <table class="one"> <tr> <td>Pilsētas informācija</td> </tr> </table> <table class="two"> <tr> <td>Resursu ieguve</td> <td>x122 / stundā</td> </tr> <tr> <td>Koordinātes</td> <td>1:1:27</td> </tr> </table> </body> </html> Link to comment Share on other sites More sharing options...
-=HELLBENDER=- Posted May 1, 2012 Author Report Share Posted May 1, 2012 Paldies :) Link to comment Share on other sites More sharing options...
Recommended Posts