Is it possible to have table borders disabled but have one cell show a border ?
If so how do I do it ?
cell border - Post ID 225260
You could try an in-line style for the particular cell you want a border around:
<td style="border:1px solid white;">
(adjust thickness, type and color to your liking...)
<td style="border:1px solid white;">
(adjust thickness, type and color to your liking...)
Per
www.mingas.com
www.mingas.com
You can do that with CSS as you can see by the graphic
http://i1131.photobucket.com/albums/m555/thenbman/borders.jpg only one part is with a border out of 4 cells, and that's only on the left.
The code is something like this, but there's many ways, this is just one:
<table border="0" width="60%" align="center">
<tr><!-- Row 1 -->
<td style = "border-left: solid; border-color: red;"> HELLO IM A TABLE WITH A LEFT BORDER</td><!-- Col 1 -->
<td>HELLO IM A TABLE ELEMENT WITHOUT A BORDER</td><!-- Col 2 -->
</tr>
<tr><!-- Row 2 -->
<td>I'm also borderless</td><!-- Col 1 -->
<td>I've got no border either, isn't that unfair</td><!-- Col 2 -->
</tr>
</table>
http://i1131.photobucket.com/albums/m555/thenbman/borders.jpg only one part is with a border out of 4 cells, and that's only on the left.
The code is something like this, but there's many ways, this is just one:
<table border="0" width="60%" align="center">
<tr><!-- Row 1 -->
<td style = "border-left: solid; border-color: red;"> HELLO IM A TABLE WITH A LEFT BORDER</td><!-- Col 1 -->
<td>HELLO IM A TABLE ELEMENT WITHOUT A BORDER</td><!-- Col 2 -->
</tr>
<tr><!-- Row 2 -->
<td>I'm also borderless</td><!-- Col 1 -->
<td>I've got no border either, isn't that unfair</td><!-- Col 2 -->
</tr>
</table>
http://www.dozydayz.co.uk
http://nbdesigns.me.uk - responsive
http://brewstersartz.co.uk - responsive
http://nbphotography.me.uk - responsive
http://nbdesigns.me.uk - responsive
http://brewstersartz.co.uk - responsive
http://nbphotography.me.uk - responsive
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.