Get width of ul in jQuery -


i need width of <ul> has dynamic width, in order set width enclosing <li>s width of <ul> ie7.

the <ul> styled display:block. jquery's .width() returns 0. tried widest <li>'s width, because sets width <ul>'s here, 0, too?

is there way (or workaround) width of <ul> or <li>s?

laura

jquery doesn't hidden elements: jquery - width of element when not visible (display: none)


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -