Forum Moderators: not2easy
I thought this was the case too, and do have examples on my page where this works, however in this case it doesn't. After some testing I realised that its after hiding/showing that it fails to be 100%.
The table starts off by being hidden, then appears after a user click - this fooled me into thinking it was never 100% - but once I set it to visible to start with, it does appear as 100% - just as it should... however hide/show the table and the problem occurs.
All the show/hide script does is set the visibility and display properties (hidden/visible and none/block).
I tested what FF 'thought' the width was by alerting the value before and after it was shown/hidden - each time it stated 100%...!
Can anyone shed some light on why this might happen?
I think the table itself was staying 100%, though the dynamic td that was initially stretched was collapsing to its minimum size when hidden/shown.
I will notch it up as a Firefox bug - unless some knowledgable person can show me a standard for this behaviour... ;o)
Thanks anyway.