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

Create a dashed line

Status
Not open for further replies.

rmittal

Programmer
Aug 8, 2000
8
US
I want to create a horizontal dashed line. By using <hr> we get a single horizontal line. I want to create a dashed line like ----------------. How do I do this?
 
Use image. :)

If you want dashed line that can resize with window create image of one &quot;dash&quot; and use something like following:

<table width=&quot;50%&quot; height=&quot;10px&quot; background=&quot;dash.gif&quot; cellpadding=0 cellspacing=0 border=0>
<tr><td>&nbsp;</td></tr></table>

assuming that you created gif with height of ten pixels.
 
You could also use:
<center><hr width=x><hr width=x><hr width=x>,etc</center>
 
You could also use:
<center><hr width=x><hr width=x><hr width=x>,etc</center>

SNT
 
Hm-m... >:-< I'm sorry, but have you ever tried what you suggested two times?
(I'm don't talking about reading manual where written what will result...) :)
 
Oops. My apologizes.
This works:

<table><td><hr width=x></td><td><hr width=x></td>,etc..</table>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top