#5705: Admin login window CSS bug when using application/xhtml+xml
-------------------------------------------------+--------------------------
Reporter: Rob van der Linde <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Component: Admin interface
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-------------------------------------------------+--------------------------
With my projects, I like to use DEFAULT_CONTENT_TYPE =
'application/xhtml+xml' in my settings.py file. I then use an
XhtmlDegrader? middleware, to gracefully degrade my pages to text/html to
browsers that do not support this mimetype, such as IE.
Everything else seems to be fine when using application/xhtml+xml for
Admin, except one little minor bug with the login window.
The bug is that the background is not all covered in grey, but rather only
a tiny strip. This bug does not occur when admin is served as text/html.
Usually this sort of bug happens if you put the background colour in the
body{} selector, when it should be in html{} selector instead, as body{}
only grows with the page content when in strict HTML mode, and may not
necessarily cover the whole page.
To fix, move the grey background into the html{} selector in the CSS.
--
Ticket URL: <http://code.djangoproject.com/ticket/5705>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---