dchau12
asked on
html table issue
I am trying to set a border on two sides of an html table cell in visual studio 2005. I can get one side of the cell to display a border. It shows up in design view as well as the when I compile the code. But, when I try to get the other side of the border displayed, it shows up in design view, but then no border appears when I compile the code. Here is the code:
<td style="width: 100px; height: 21px; border-left-color: black; border-top-style: solid; border-top-color: black; border-left-style: solid;">
<td style="width: 100px; height: 21px; border-left-color: black; border-top-style: solid; border-top-color: black; border-left-style: solid;">
Does the cell in quesion contain any "contents" if not try adding " " to the cell contents
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this:
<td style="width: 100px; height: 21px; border-left: #000000 solid 1px; border-top: #000000 solid 1px;">
<td style="width: 100px; height: 21px; border-left: #000000 solid 1px; border-top: #000000 solid 1px;">