css - IE ignores padding when white-space: nowrap -
OK, I have a duration with background that is located on the left, and 20px padding left to keep the text By render at the top of the image ... very standard.
I also set white space: now to prevent the wrapping on the line scraps.
In this period, a div is approximately 200px wide if the text is enough to cross the length of the compartment longer than the length of the compartment, suddenly the padding starts to ignore and the text BG image If I leave the white space, then it becomes: Normal with the same diwa is also overflow: auto set (scroll bars are being presented).
Using IE8 ... Is This a Known Object? Is there any standard set, I can not find anything: (
You may need it I have posted more code, but whatever I am listening to your HTML shows something like this
and your CSS looks something like this
.container {overflow: auto; width: 200px;} .text {background: ... white-space: aboper; padding-left: 20px;}
this easy Your padding will be missing in the model, because the span display is inline and the application will stop properly. As the padding, it exits from the right. Find your span properly to follow the padding rules. > Display: Block
, you will also need to make other changes, if you want it to flow in the div instead of your own line with other items.
Comments
Post a Comment