Hi Bobbafet,
I agree that your solutions is OK if you only supports IE5 and NN6 (not tested by me) or higher. I think that it's even better/easyer if you want to specify the width in combination with a left/right-align:
<hr align="right" style="border: dashed red; height: 1px; width:400px">
So a star for your solution Bobbafet. (I always like new tips)
But I disagree your "
less code"!!
[ignore]
<hr style="border: dashed red; height: 1px;">
<div style="border-bottom: 1px dashed red;"> </div>
difference is only 11 characters
[/ignore]
Mighty,
Beware if you want your site to support people with older browsers. There are some disadvantages with bobbafet's solution:
In IE4
- You only see a grey line (OK, that's not to bad).
- {the <div> shows a colored line}
but in NN4.7
- You see a 3 demension grey line following by (next row) a verry annoying square with thick RED border.
- {the <div> shows nothing}
Good luck with making a choice.
Erik <!-- My sport:
Boomerang throwing !!
This year I will participate at the World Championships in Germany. (
!! Many Happy Returns !! -->