WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: CSS sliding

for

From: Patrick Lauke
Date: Jun 16, 2005 4:29AM


> HAA

> Sorry, its at www.newchaletclub.co.uk

> The left nav panel is fine, but the right contents panel
> often slides down so it starts, aligned correctly, but
> below the nav panel. It seems to be random and just as
> suddenly corrects itself as it slips down the page!

Without even looking at it, I'll say it's a float issue.
When there's not enough space for the two floats to sit side
by side, the second float drops down to accommodate. Older versions
of IE are notorious for it, particularly when the width of the
individual floats is too tight.

Looking at your CSS now, no time to test, but I'd try making
the #leftnav just a tad smaller, and explicitly setting
padding of 0 for #leftnav, #contents, #innerdiv.

Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk