css - Firefox default font size issue -


Flexible layout EMS or% used as font-size units, a normal practice as a 62.5% body font- Size is

but the default font of Firefox is 14px, which is the result of smaller layouts compared to 16px default font size

Are we just the body's font-size Can not fix in 10px so that the relative size works in each To obtain a browser.

In addition, in addition to the @Ray reply ..

For Browser Consider this type of inefficiency, using a reset stylesheet.

A good one can be found and.

I am pasting the code here for reference.

  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, Big, quote, code, del, dfn, m, img, ins, kbid, q, s, samp, small, strike, strong, sub, support, tt, var, b, u, i, center, dl, dt, DD, OL, UL, Li, Field, Form, Label, Legend, Table, Caption, Tub, Tiffut, Thread, TR, Th, TD, Article, On one side, Canvas, Description, Embed, Shape, Digitization, Footer, Header , Hgprov, menu, nav, output, ruby, texture C, summary, time, mark, audio, video {margin: 0; Padding: 0; Border: 0; Font-size: 100%; Font: heirs; Vertical-line: baseline; } / * HTML5 display-role reset for old browser * / article, on one side, description, figurebanking, shape, footer, header, hgprov, menu, nav, section {display: block; } Body {line-height: 1; } Ol, ul {catalog-style: none; } Blockquote, q {citation: none; } Blockquote: first, blockquote: after, Q: first, Q: after {content: ''; Material: None; } Table {boundary-collapse: collapse; Border-spacing: 0; }    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -