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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical line 1

Status
Not open for further replies.

aw23

Programmer
Nov 26, 2003
544
IL
I need to create a vertical line next to my sidebar. How is this done? Is it possible to create a border for a table on one side only?

Thanks
 

You could use this CSS:

Code:
border-right: 1px solid #000000;

But without seeing your code, it would be hard to tell you how best to insert it. I would suggest the use of an ID, for example, "mySideNav":

Code:
<style type="text/css">
   #mySideNav {
      border-right: 1px solid #000000;
   }
</style>

...

<whateverElement id="mySideNav">

Hope this helps,
Dan



The answers you get are only as good as the information you give!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top