Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS and BORDERS

Status
Not open for further replies.

phatening

Programmer
Aug 8, 2005
18
US
The following code is supposed to produce a right border thats a black solid line. But it becomes a dotted black line because the border top and bottom is red. Is there anyway around this? Thanks for any help.

<dl>
<dt style="border-right: 2px solid black;">Header</dt>

<dd style="border-right: 2px solid black; border-top:1px solid red; border-bottom:1px solid red;">item</dd>

<dd style="border-right: 2px solid black; border-top:1px solid red; border-bottom:1px solid red;">item</dd>
</dl>
 
Try this:
Code:
<dl style="border-right: 2px solid black;">
  <dt>Header</dt>
  <dd style="border-top:1px solid red; border-bottom:1px solid red;">item</dd>
  <dd style="border-top:1px solid red; border-bottom:1px solid red;">item</dd>
</dl>

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top