I found that making a table with
<table style="padding-left: 100px; width: 200px">
makes the content only 100px wide. Further investigation revealed that Firefox has
table { -moz-box-sizing: border-box };
rule in its default stylesheet. Is there a reason for that? Are tables supposed to be sized this way according to the CSS standard?
that's strange, i see that you are right, even though mozilla itself says the default value should be content-box. Bug? Seems your only choice have to reset this in your css.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With