Erik Visser wrote:

> but still i like to solve it. (if possible)
> 
> any suggestions?

Sure. Don't use pixel-sized elements inside em-sized containers - or the
other way round. Such mixes are bound to break.


You have a div class="smalltxt" with inline-styles setting the width to
120px. Can't work.

1: get those inline-styles out of there - they belong in the stylesheet.
Only use inline-styles for odd details in places where they can't
backfire, and then only when you have no better options.
In short: never use inline-styles.

2: set the width of .smalltxt in that table to something like 'width:
8em', so those divs scale with the rest of the page.

This change will have an effect in all browsers, so test well - also for
font resizing, and tune until you're happy with the result.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to