From: Michael F. <mi...@pc...> - 2005-05-19 08:52:47
|
Felix Wiemann wrote: >Michael Foord wrote: > > > >>Felix Wiemann wrote: >> >> >> >>>For some reason IE is cropping the first paragraph of "2.1.1 Inline >>>Markup" -- in standards mode! I have no idea why, though. >>> >>> >>Hmmm..... this is the same problem I had on my website. I use docutils >>for my blog entries (and now my website contents). >> >>See this `blog entry`__ for details of the problems I had with the >>``white-space : pre`` css rule. It causes any line with an ``inline >>literal`` in it to be rendered as one long line. This was breaking my >>layout and is causing the same problem here - but *only* in standards >>mode. >> >> > >Now if you accept that Microsoft has a rather screwed notion of what >"standard" means, what's wrong with adding an XML declaration so that >you have conforming XML code and so that IE uses quirks mode? > >I mean, IE's quirks mode doesn't seem to be a practical problem, at >least not with XHTML generated by Docutils, and it's certainly not a >theoretical problem I'd worry about. > > > Ok :-) I guess it's related to the fact that IE doesn't recognise XHTML as XML at all - and will only accept it served as HTML. I also wonder if switching to quirks mode will interfere with the DOM. This is *possibly* an issue for people who combine javascript with HTML generated by docutils. In this case though people can choose standards mode themselves by not using the xml declaration :-) Regards, Fuzzy http://www.voidspace.org.uk/python |