Get Adobe Flash player

Search

Search this site for:


Related Links






Valid XHTML 1.0 Transitional

Valid CSS!





Web Source Web Design Tips - Using An Image To Create A Line

You can use an image to create a vertical or horizontal
line in a web page.

Create a 2 pixel by 2 pixel image in the color of your
choice. This single image can be used to create a vertical
or horizontal line on your web page simply by changing the
HEIGHT and WIDTH attributes.

Examples:









When creating a vertical line, you'll need to set up a
table to display your text on each size of the line.

About the Author
Shelley Lowery
slowery@web-source.net
Tip provided by: Web Source: Your Guide to Professional
Web Design and Development. http://www.web-source.net