Noah Learner wrote:

> http://www.youngsbicycleshop.com/modxtest/index.php?id=63

> On this page I want the width of the "li photogallery" to stay it's 
> normal width and for the submenu's li's named " staff, bands, box
> fans, crowd, and halloween to spread on the line below.  How do I do
> this?

One method involves "removed floats"[1], and can in your case be started
by adding the following...

#container #nav a {
float: left;
}
#nav ul.subsection {
float: left;
clear: both;
margin-right: -1000px;
position: relative;
}

Alignment can be trimmed by adding a suitable 'margin-top' to #nav
ul.subsection. This will work for a simple case.

Note that line-ups of text-links won't have a "normal width", since
width in such cases depend on factors like font-resizing at the
user-end. Thus, the layout can/will be broken by some visitors.

Note also that the use of 'em' for font-size triggers the 'em
font-resizing bug'[2] in IE/win, so an additional...
body {font-size: 100%;}
...will help.

regards
        Georg

[1]http://www.gunlaug.no/contents/wd_demo_float_03.html
[2]http://www.gunlaug.no/contents/wd_additions_13.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to