Forum Moderators: not2easy
I have a strange problem with my css.
<code>
table.moduletableicom {
margin: 0px 0px 0px 0px;
width: 95%;
}
table.moduletableicom th {
color: #FFFFFF;
font: bold "Optima LT Std";
background: url(../images/tableheader.jpg) no-repeat center;
text-align: center;
vertical-align:middle;
width: 100%;
height: 25px;
background-position: bottom;
border: none;
}
table.moduletableicom td {
width: 170px;
border:1px solid #E87000;
}
</code>
the td is giving a double border in stead of a single.
Is there anybody who can help me with this?
Thank you, Natascha
border collapse should be applied to the td, th elements and the border for the table should be set to 0..
e.g.
table {
border: 0;
margin: 0;
border-collapse: collapse;
}td {
border:1px solid #E87000;
}
</style>
</head>
<body>
<table>
<tr><td>some content</td></tr>
<tr><td>some content</td></tr>
<tr><td>some content</td></tr>
</table>
have you got borders set elsewhere?
Suzy