Link to home
Start Free TrialLog in
Avatar of dchau12
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;">
Avatar of S31B1
S31B1

Does the cell in quesion contain any "contents" if not try adding "&nbsp;" to the cell contents
ASKER CERTIFIED SOLUTION
Avatar of TName
TName

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try this:

<td style="width: 100px; height: 21px; border-left: #000000 solid 1px; border-top: #000000 solid 1px;">