On Mon, Jan 4, 2010 at 6:45 PM, Alex Black <a...@alexblack.ca> wrote:

> I've read here:
>
> http://css-discuss.incutio.com/?page=RenderingMode
>
> and here:
>
> http://hsivonen.iki.fi/doctype/
>
> that if you include the xml declaration:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> Then IE6 (and others?) go into quirks mode.  Is there a way in lift to
> omit this from IE? I tried removing it from my default.html template,
> but Lift still spits it out.
>
> We're using:
>
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-
> strict.dtd">
>
> along with Content-Type=application/xhtml+xml; charset=utf-8
>
> I'm also open to thoughts on other pragmatic solutions to getting
> browsers to render our XHTML nicely :)
>

Lift automatically detects IE and IE6 and "does the right thing" in terms of
headers as well as the <?xml ?> header.  Please take a look at the HTML and
headers actually emitted when IE6 is detected... it should be correct.


>
> - Alex
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to