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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -