That DTD will put you in standards mode. If you would remove the URI
it would be quirks mode.

It seems like there are some extra CSS attributes on the center that
are not right. Setting the size makes it work, but that should not be
necessary. There are some other issues with this component that I need
to address, I just don't have the time at the moment.

What is wrong with the table layout? Are you seeing something
different than the example?

On Wed, Feb 27, 2008 at 10:13 AM,  <[EMAIL PROTECTED]> wrote:
> Andrew,
>
>  I think I'm in "Almost Standards Mode" for IE as I'm using this
>
>  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
>  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
>  transitional.dtd">
>
>  without anything proceeding it as well as a mime type of
>  application/xhtml+xml
>
>  I'm not seeing any combination that wil place IE7 in standards
>  mode for xhtml?  Are you, or anyone else,  aware of one?
>
>  I'll play around with layout="table" as well.
>
>  Thanks,
>
>  Todd
>
>
>
>
>  ---------Original Message---------
>
>  Are you in quirks mode for IE?
>
>  IE6 will almost always fail and IE7 requires standards mode to
>  get it
>  to look right.
>
>  To render an IE6 and IE7 Quirks friendly component use
>  layout="table".
>  IE just has too many bugs with CSS to render the DIVs correctly.
>
>  Play around with the demo to see how it renders in different
>  browsers:
>
>  http://example.irian.at/example-sandbox-20080227/roundedDiv.jsf
>
>  It looks like it is having problems at the moment though, I
>  will have
>  to look into it sometime. It was working and I haven't made
>  changes,
>  so I am not sure what is going on off the top of my head. It is
>  working with a size provided, but the demo is having gap issues
>  with
>  the "auto" sizing.
>
>  On Wed, Feb 27, 2008 at 6:49 AM,  <[EMAIL PROTECTED]> wrote:
>  > Hello:
>  >
>  >  I have a seam/facelets based xhtml page with the following on
>  >  it.
>  >
>  >  <s:roundedDiv id="banner" color="#{e:getWebHexToColor
>  >  ( '#660000' )}" style="text-align: center;">
>  >
>  >         <h:outputText value="Hello World!" />
>  >
>  >  </s:roundedDiv>
>  >
>  >  The e:getWebHexToColor.... is a reference to a facelets
>  >  function that converts the specified hex color representation
>  >  into the associated java.awt.Color instance as required by
>  the
>  >  s:roundedDiv tag.
>  >
>  >  This all works just fine and as expected in both Firefox and
>  >  Netscape browsers.  However, in both IE6 and IE7 the visual
>  >  presentation of the s:roundedDiv is incorrect in that only
>  the
>  >  corners of the roundedDiv are rendered, i.e. the actual
>  center
>  >  of the div where its contents (in this case the h:outputText)
>  >  are located does NOT show the specified div color.  Rather it
>  >  just shows the normal page color?  So on IE6 and IE7, you end
>  >  up with 4 rounded corners (and ONLY the corners)  in the
>  >  specified color, but the rest of the div does not appear as
>  >  expected.
>  >
>  >  Is this a known issue?  Does anyone have any work arounds or
>  >  fixes?  I was very excited to use this component, but will
>  not
>  >  be able to as we must support IE.
>  >
>  >  BTW, This is from the 1.1.7 sandbox.
>  >
>  >  TIA!
>  >
>  >
>
>
>

Reply via email to