I am looking to remove specific vertical lines from an HTML table. There are only 3 vertical lines in total, and I want to remove the first and third lines.
Below is my code:
<html>
<head>
<style type="text/css">
.table1{
background: -moz-linear-gradient(-90deg, #003471, #448CCB);
background: -webkit-gradient(linear, left top, left bottom, from(#003471), to(#448CCB));
}
table, th, td {
border-left: none;
border-right: none;
}
</style>
</head>
<body>
<div id="div1" class='display'>
<table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor='66A8FF'>
<tr class="table1" style="border-collapse:collapse">
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text1</font></td>
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text2</font></td>
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text3</font></td>
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text4</font></td>
</tr>
<tr class="table1" style="border-collapse:collapse">
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text1</font></td>
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text2</font></td>
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text3</font></td>
<td width="25%" height="48px" align="center" style="font-size:28px"><font color="#fff">Text4</font></td>
</tr>
</table>
</div>
</body>
</html>
Here is my JSFiddle
Any suggestions on how I can achieve this?
Thank you in advance!