DeeEmm
Jeesh - damn 2000 char limit.

HL - I accidentally deleted a nice wordy response to you whilst jumbling everything around to fit :(

Yes you are correct - the width element is actually generated by javascript (god only knows why) - my guess is that the issue it is trying to address is to stop the tab text from wrapping. BUT - this is not the correct way to do this - there are several CSS only solutions to this issue - some of them pretty basic too.

My opinion - it's a typical softie trait see more - over complication for the sake of it - just because you can do something - doesn't mean that you should. Remember K.I.S.S!!!

It's additional baggage like this that causes slow page loads. - why do you need to fix the width property after the page loads?? you know what it should be BEFORE you send the page to the browser - set it at this point if you need to set it at all. In fact in this case you do not even need to dynamically assign a width at all - the element can be made to expand to accommodate whatever text, and not wrap using CSS alone.

C'mon guys.

HL - you are also right that it applies to most of the site - every block with a tab in fact.

/DM
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.069859981536865