Express the dimensions of the container in em's rather than px's. An em is roughly equivalent to the size of a character so will shrink and grow with text size changes. With a default font like times at its default size, it is also roughly equivalent to 16px. Fractional amounts of em's are allowed:
HTML Code:
<div style="width:10.725em;">Some text</div>
If the dimensions you need to influence are set by the script, the script most likely would need to be modified to accommodate em's in place of px's but, perhaps not, only way to know is to try.
Also, in many cases, not specifying a width or specifying a larger value than could possibly be required, will create the conditions required to allow text to appear all on one line.
If following either of these strategies, it is important that there be no containing element with smaller dimensions around the element who's dimensions you are setting. The outer container will almost always set the dimensions for the inner element.
To be of more help, I would need a link to your page.
Bookmarks