kuvik
11-07-2009, 04:48 PM
Hello,
I have a problem with CSS overflow property used together with padding.
Testcase: http://gamca.informacie.sk/betatest/overflow/
This page has a container with overflow: auto and min-width. Inside are few <p> tags that have white-space: nowrap, left+right padding and center text align (These also trigger parent container scrollbar). Problem is that Firefox 3.5 and Chrome 3.0 don't extend container width enough and ignore right padding. Opera 10 and IE8 render it correctly.
Thanks for your help.
I have a problem with CSS overflow property used together with padding.
Testcase: http://gamca.informacie.sk/betatest/overflow/
This page has a container with overflow: auto and min-width. Inside are few <p> tags that have white-space: nowrap, left+right padding and center text align (These also trigger parent container scrollbar). Problem is that Firefox 3.5 and Chrome 3.0 don't extend container width enough and ignore right padding. Opera 10 and IE8 render it correctly.
Thanks for your help.