Why is a table not using the body font size even though I haven't set the table font size explicitly?

前端 未结 5 1610
后悔当初
后悔当初 2020-12-30 19:24

I have a problem whereby I have set the body font-size to 11px, but tables display font at 16px. I have no idea whats causing this - I have been over the CSS and the output

5条回答
  •  借酒劲吻你
    2020-12-30 19:44

    Are the browsers rendering in quirks mode? Apparently quirks mode recreates some legacy behavior where tables do not inherit properly:

    http://web.archive.org/web/20120718183019/http://devedge-temp.mozilla.org/viewsource/2002/table-inherit/

提交回复
热议问题