Sunday December 29, 2002
CSS and border-collapse property I can't seem to get the border-collapse property to work on my tables. Basically, I should be able to specify a border and border-collapse: collapse on a table and this border will be applied to all cells. But I can't get it to work - any ideas? Here's an example:
<table width="300"
style="border: 1px solid black; border-collapse: collapse">
<tr>
<th> </th>
</tr>
<tr>
<td>this cell should have a top border<td>
</tr>
</table>
And here's that same table without the HTML escaped:
| this cell should have a top border |
Posted in The Web
at Dec 29 2002, 06:58:14 AM MST
3 Comments
Search This Site
Recent Entries
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward
<table width="300" border="0" style="border-collapse: collapse"> <tr> <th style="border: 1px solid black">&nbsp;</th> </tr> <tr> <td style="border: 1px solid black">this cell should have a top border</td> </tr> </table> If I'm wrong, I hope someone will correct me.
Posted by Danman on December 29, 2002 at 04:32 PM MST #
Posted by Danman on December 29, 2002 at 04:42 PM MST #
Posted by Matt Raible on December 29, 2002 at 09:44 PM MST #