Forum How do I...?

Sharp Table Borders?

nishantvarma
Also is it possible to have really sharp border like what you get when you do
<span style="text-decoration:underline"> Hello World </span>
Table borders looks much thicker.
<table border="1pt solid" width="100%"><tbody><tr><td>Element1</td><td>Element2</td></tr></tbody></table>
mikeday
Try using collapsed borders.
nishantvarma
Thanks. I am already using collapsed-borders. style="border:0.25pt solid black" for all the td's achieved what I need. style="0.25pt solid black" doesn't work in Chrome. It renders fine in Firefox.

Is it possible to set this at table level? At table when I give this it doesn't inherit to td's unlike border="1" which is slightly thick. Is there a CSS way to inherit it?

Edited by nishantvarma