On Mon, 10 Jul 2006, Sam Varshavchik wrote:
Pawel Tecza writes:
Hello Sam,
You probably agree with me that <hr> tags are obsolete now
and look ugly if we have own nice Sqwebmail layout [1].
Of course I can use CSS styles to customize/hide them
and it's good for me, but I think that better idea
for other Sqwebmail users is using <div> tags to separate
layout elements on page, for example <div class="hr"></div>.
If you want to have the separators with different width
you can create a few CSS classes, for example:
.hr { border: 1px inset #cccccc; width: 100% }
.hr90 { border: 1px inset #cccccc; width: 90% }
.hr80 { border: 1px inset #cccccc; width: 80% }
.hr70 { border: 1px inset #cccccc; width: 70% }
What do you think about it?
Do we know that all browsers will actually render an empty <div>, with no
contents, more or less like a horizontal line?
I don't know it, because I don't use all browsers ;) I only tested it
in the following browsers:
- MS IE 6.0
- Opera 9.00
- Mozilla 1.7.6
- Firefox 1.0.2 (Linux) and 1.5.0.4 (Windows)
- Konqueror 3.3.2
- Galeon 1.3.21
and all of them render an empty <div> tag properly.
Is a HTML/CSS expert here? ;)
Pawel