I'm using table to show some data,but has the following BUG with IE8:
The right of the text is hidden.
I have set the following properties:
table-layout:fixed;
(Do not want to modify this.) td {padding: 3px;}
Debugged with IE8,Found the following problem:
The div tag in td is overflowing the td's Boundary.
What reason? Please help.
http://www.w3schools.com/cssref/css3_pr_box-sizing.asp
set box-sizing: content-box
on the td
containing the div
IE8 defaults to border-box
, all newer versions and all other browsers default to content-box
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.