In my sample page: http://j25.wasen.net/modules/mod_simplefilelisterv2.0/index.html
I have added a DIV as a wrapper at 200px wide.
I use jQuery to try and detect the width of DIV’s inside this DIV but they all come out as 200px wide also even though they are wider (or narrower).
I have tried several different techniques found here at the site but all has failed this far… How can I get the TRUE width of the DIV’s in the wrapper?
Use
display: inline-blockas a style for the divs. At the momentdisplay: blockwill make the divs as big as their parent while the tags inside are have a display value ofinline.