Jump to content
php.lv forumi

Tabula


Peeter

Recommended Posts

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 by bubu
Link to comment
Share on other sites

×
×
  • Create New...