Or another easy way to check whether the browser is running in quirks mode
is to check the return value of 'document.compatMode' in the Firebug console
or in a script in the page.If the browser is in quirks mode the returned
value will be 'BackCompat' or something similar.

-- Abhi

On 7/10/07, Simon Lessard <[EMAIL PROTECTED]> wrote:

Ah yeah, those nasties... And that might be your issue too... I had one of
those not too long ago. You can discard the possibility by saving the
generated page on your disk then manually change the doctype to see if the
result is better.

The problem only ever happened with tables for me.


Regards

On 7/10/07, D. Cardon <[EMAIL PROTECTED] > wrote:
>
> Thanks for your reply.
>
> Actually, the only reason I wanted to change the doctype, was to make
> certain that my browser
> isn't in quirks mode.  I've just been having some annoying cross-browser
> rendering difficulties
> and wanted to eliminate that possibility.
>
> --David
>
> --- Simon Lessard < [EMAIL PROTECTED]> wrote:
>
> > Hello David,
> >
> > Sadly, it isn't possible currently and the resulting page would not
> look any
> > better than with current doctype (transitional for main page and
> frameset
> > for dialogs). Also, the generated markup would not pass w3c validation
> > because of issues like invalid ids, elements not supporting attribute
> "name"
> > as well as some other issues. We're working on better supporting the
> > standard, but some issues requires JSF 1.2 to be more compliant
> (namely
> > invalid id error).
> >
> >
> > Regards,
> >
> > ~ Simon
> >
> > On 7/10/07, D. Cardon < [EMAIL PROTECTED]> wrote:
> > >
> > > Well, I would just like to be able to enforce <!DOCTYPE HTML PUBLIC
> > > "-//W3C//DTD HTML 4.01//EN"
> > > " http://www.w3.org/TR/html4/strict.dtd";> on the document.
> > >
> > > --David
> > >
> > > --- Adam Winer <[EMAIL PROTECTED]> wrote:
> > >
> > > > No, there isn't currently.  What DTD are you looking for?
> > > >
> > > > -- Adam
> > > >
> > > >
> > > > On 7/9/07, D. Cardon < [EMAIL PROTECTED]> wrote:
> > > > > How do I set the DOCTYPE declaration, when using a
> <tr:document>?
> > > > > Currently, Trinidad appears to render out the HTML as:
> > > > >
> > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
> > > http://www.w3.org/TR/html4/loose.dtd"; ...>
> > > > >
> > > > > Is there any way to change this?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --David
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> 
____________________________________________________________________________________
> > > > > Moody friends. Drama queens. Your life? Nope! - their life, your
> > > story. Play Sims Stories at
> > > > Yahoo! Games.
> > > > > http://sims.yahoo.com/
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> 
____________________________________________________________________________________
>
> > > Luggage? GPS? Comic books?
> > > Check out fitting gifts for grads at Yahoo! Search
> > > http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
>
> > >
> >
>
>
>
>
>
> 
____________________________________________________________________________________
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.
> http://tv.yahoo.com/
>


Reply via email to