Sent by Peter Lawson on 1 August 2010 09:09
Rick Gordon wrote:
> Why do you need the floats? Just at a glance, I'd suspect that that's
> what's messing up your centering.
Removed the first float: left and the bottom border moves to the top
Removed the second one and the list turns vertical
John D wrote:
> Use this code. It works in IE8
On my 1024 x 768 screen in IE8 and FF, it wraps round and has no end borders
Sandy wrote:
> I got this working by adding a container div to do the centring.
Wrapped around with me. Stopped this by increasing width to 900 px, but
no centering and strange border behaviour.
David Laakso wrote:
> Fwiw, a stab at your very good question
> <http://chelseacreekstudio.com/ca/cssd/8.html>
Thanks for your kind words, David, and the elegant solution found at
your link. Am I right in thinking that
* html #nav ul {
overflow : visible;
width : 100%; }
makes it work in a variety of browsers? I just use FF
Thanks to all of you for your interest and advice.
--
Peter Lawson
Cape Town: 021-797-4493
France 06 18 28 96 43
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/