|
Posted by Jonathan N. Little on 03/19/06 21:22
Alan J. Flavell wrote:
> On Sun, 19 Mar 2006, Jonathan N. Little wrote:
>
> [unholy scrapyard of </font> snipped...]
>
>> <hr align="left" color="#ff0000" width="70%">
>>
>> You could style your HR in a stylesheet with:
>>
>> HR { border: 1px solid #ff0000; #ff0000; width: 70%; margin-left: 0; }
>
> In theory, yes. When I tried this, some years ago, in the era when
> IE4 and NN4 still needed to be considered, I found that some browsers
> were quite reluctant to style <hr> itself, and I finished up with a
> plan which involved putting the <hr> (which I retained for fallback
> use when CSS was unsupported or disabled) inside <div>, and using CSS
> for styling the <div> (and for setting the hr width to 0 so that it
> didn't show). [1]
I use to think that way of trying to fully accommodate 4x browsers until
I started reviewing my traffic, <1% in fact in the .01% range! If it
wall severely impair the page in these browsers a may add a conditional
stylesheet that disables all the float and effect for them...No pretty
but hey, then could upgrade.
> Do we have current information on any residual problems with merely
> styling the <hr> itself?
Depends, if it fail, so what, just means the HR is not read and is
'groove' style. Not sure why the OP wants 70% width anyway.
>> All the FONT junk isn't required
>
> Amen to that.
>
>
> [1] if anyone's still interested in this history:
> http://ppewww.ph.gla.ac.uk/~flavell/www/hrstyle.html -
> but the content hasn't been substantively revised since 2002 or so.
If he redoes his page and used stylesheet in addition tom being easier
to maintain and change but the markup will be nearly reduced my half.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|