toolman
02-20-2004, 03:14 PM
Is it possible to make a <hr> line dotted or dashed?
|
View Full Version : dashed / dotted HR toolman 02-20-2004, 03:14 PM Is it possible to make a <hr> line dotted or dashed? lefty 02-20-2004, 04:29 PM you could try adding a style to it, I'm not sure how it'll come out: <HR style="border-style:dashed; border-color:000000; border-width:2px;"> fengshui37 02-20-2004, 06:50 PM Here is a URL with more information on using HR in CSS... http://www.netmechanic.com/news/vol5/css_no2.htm There IS a style attribute associated with it...my old hard copy books dont have much so I'm looking online for more information about what can do with it. Hope this helps.. - Feng 37 fengshui37 02-20-2004, 07:04 PM Here is a another page about HR tag with style sheets. Looks like can play around with height, width, background, and margins. I have a feeling you will have to use a "transparent gif" or other image file inserted in between sections of your page to be able to display the dashed/dotted line effect. Then again, someone on here might know about updated standards and new attributes; you have to keep in mind that cutting edge brand new standards may not be rendered correctly by older browsers. Since HR has been deprecated for quite awhile now, need start using it within CSS because eventually (probably years in the future though) browsers wont read or interpret that html tag. http://www.2dwebdesign.com/tips/2-horizontal-rules.html - Feng37 |