ksevern
12-07-2006, 03:27 PM
I have a div that contains a table of variable size. When the table size exceeds the size specified by the div CSS class, the table forces the div to be larger than specified. I need to detect this situation and know the actual forced (minimum) display size of the div. This works well in IE. The offsetWidth returns the display size, but in Firefox it returns what the CSS class says it should be. I'm assuming that the div is actually stretched by the nested table and that the div cannot contain something that has a larger display size. Any ideas?
Thanks,
Ken Severn
Thanks,
Ken Severn