On Thu, 10 Nov 2005 21:26:36 -0600 Jacob Kaplan-Moss wrote:

> 
> Hey folks --
> 
> With Wilson's help I've mocked up some nice-looking error pages to  
> replace the ugly tracebacks when DEBUG is on.  Right now they're  
> implemented as a middleware component, but I think they'd be best  
> rolled into the Django core -- good looking, functional error  
> messages by default strike me as a very good idea.  Thoughts?
> 
> Server error page: http://toys.jacobian.org/django/500.html
> 404 error page: http://toys.jacobian.org/django/404.html
> 
> Jacob


The CSS doesn't work quite right in Konqueror.  The problem is the
floats in #quicklinks which you haven't cleared -- you have just added
a bottom margin instead.  

This page describes a solution for 'auto-clearing':
http://www.positioniseverything.net/easyclearing.html

Using it, I fixed your page using by adding this CSS:

#quicklinks:after { content: '.'; display: block; height: 0px; clear:
both; visibility: hidden;}

and changing this line:
#summary ul#quicklinks { list-style-type: none; margin-bottom: 2em; }
to this:
#summary ul#quicklinks { list-style-type: none; margin-bottom: 0em; }

That works in both Firefox and Konqueror.

Regards,

Luke
-- 
"I was sad because I had no shoes, until I met a man who had no feet. 
So I said, "Got any shoes you're not using?"  (Steven Wright)

Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

Reply via email to