Log in

View Full Version : Resolved css list positioning



Josh404
11-09-2008, 01:20 AM
I am working on a site, using a modified .js menu system i found in a tutorial.

http://uoregon.edu/~josh/test_menu/
http://uoregon.edu/~josh/test_menu/style.css(the offending css is vertically spaced)

what i cannot work out is why the menu will not float left within the div it is contained within.

here is a firebug screengrab that shows the size of the containing div:
http://uoregon.edu/~josh/test_menu/firebug_screen.png

I think it is something to do with the order of <ul> & <li> elements in creating the menu. however as this is something preordained by the .js tutorial i got the menu code from I do not know what to do.

any advice greatly appreciated.

TheJoshMan
11-09-2008, 01:38 AM
add this to your css...



ul#treemenu1 {
float:left;
padding:0;
}

Josh404
11-09-2008, 01:58 AM
thankin' ye

TheJoshMan
11-09-2008, 02:01 AM
no problem