Hi Matthias,

Viewing the following with Mozilla 1.7.8 shows the HR line centred. Are
you saying that Firefox does the same, but IE left-aligns the output?

<html>
<body>
This tests HR alignment
<hr style="width:50%"/>
</body>
</html>

I also tried:
  <hr style="width:50%; text-align: left"/>
and it's still centred, though you say you got left-alignment in
Firefox. The behaviour I saw (no change) is what I would expect; this is
a LINE, not a piece of text so text-align shouldn't have any effect. The
style "float:left" did left-align the rule for me.

Regardless, I don't think this qualifies as a MyFaces issue. If you want
to follow this up, you need to talk to Microsoft, Mozilla and the
W3C :-)

I would also be very careful about claiming the bug is in Firefox; in my
experience it is far more likely that the buggy
(non-standards-compliant) behaviour is actually that of IE...

Regards,

Simon

On Sun, 2006-01-01 at 23:54 +0100, Matthias Kahlau wrote:
> Hi!
> 
> 
> I tested the rendering of the "hr" tag in Firefox 1.0 again, this time with
> a CSS Stylesheet class to align the "hr" on the left side, and not with the
> "style" attribute in the "hr" tag.
> 
> The test showed that the misbehaviour of Firefox 1.0 of rendering the "hr"
> in the center must be caused by a browser bug. The "hr" is left-aligned when
> the exactly same test page is rendered with IE 6.0, as expected.
> 
> 
> 
> Regards,
> 
> Matthias
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag
> > von Simon Kitching
> > Gesendet: Donnerstag, 22. Dezember 2005 02:47
> > An: MyFaces Discussion
> > Betreff: Re: Rendering of HTML hr tag in Firefox 1.0 different than in
> > Internet Explorer 6
> >
> >
> > Matthias Kahlau wrote:
> > > I use the following tags in my Nightly 20051130 JSF site:
> > >
> > > <f:verbatim><hr class="formSeparator"></f:verbatim>
> > >
> > >
> > > The CSS class defines "text-align:left". When the site is
> > rendered with IE
> > > 6, the "hr" is aligned left, as intended. But in Firefox 1.0,
> > the "hr" is
> > > centered, unfortunately.
> > >
> > > I tested the "hr" with the "text-align:left" in a simple HTML
> > site without
> > > using MyFaces - it's left aligned in both browsers. Is this a
> > known problem
> > > already?
> >
> > Any content inside an f:verbatim is just output as plain text; MyFaces
> > doesn't touch it in any way. So I would really be surprised if there's
> > anything in MyFaces that needs fixing for this.
> >
> > I recommend looking at the generated HTML using the browser's "view
> > source" to see what the problem might be.
> >
> > Regards,
> >
> > Simon
> 

Reply via email to