Solved

How to insert a vertical line in ASP.NET using VB.NET 2003

Posted on 2004-10-11
3
390 Views
Last Modified: 2008-01-09
Hello experts,

I am designing a Webform.aspx using Visual Basic.NET 2003.


I was just wondering if there is a way to insert a vertical line into the form. I would like to use a vertical line to separate the jpg images and sales items.

I am knowledgeable that the <hr> in the HTML code creates an horizontal line on the form, although I can not figure out the vertical.

If there is a way to perform this task. Would some please be able to advise me on how to. I would greatly appreciate it.

Have great day!! :)

jd
0
Comment
Question by:jdocchio01
3 Comments
 
LVL 7

Accepted Solution

by:
mmarksbury earned 250 total points
ID: 12283414
The easiest way would be to add a CSS style to one of your table cells.  

Something like this . . .

<table>
    <tr>
        <td><img src="blah.jpg"></td>
        <td style="border-left: solid 1px #000000;">Other content</td>
    </tr>
</table>

You could also create a small graphic 1px by 1px, and use something like this . . .

<img src="dot.gif" height="600" width="1" />

That will give you a 600 pixel tall vertical line.

In short, there is no vertical line tags, you have to invent them yourselves.

Good luck!
0
 
LVL 10

Assisted Solution

by:frugle
frugle earned 250 total points
ID: 12285600
a background graphic of x pixels wide where x = width of table and 1 pixel deep, primarily your background colour with the middle pixel shaded the colour you want the line to be.

apply the background to the table repeating vertically and you will have a centre-line.

Mike
0
 

Author Comment

by:jdocchio01
ID: 12286191
Hello,

Thank you both for your assistance.  I greatly appreciate it.

Have a nice day!  :)

jd
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Link Shorteners?  Which one is the best? 10 103
Editing login page in zencart. 2 33
This code tracks birthdays 3 60
Show banners that are blocked by Ad Muncher 10 48
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now