html - Firefox and Google Chrome css not the same? -


When I test it

The results are buggy and one Not only that.

Is not both based on the same standard?

Every browser has its own default style.

You should not apply browser default to "reset" stylesheet (here's mine):

  body, div, dl, dt, dd, ul, ol , Li, h1, h2, h3, h4, h5, h6, pre, form, fields, textera, p, blockquote, th, td {margin: 0; Padding: 0; } Table {boundary-collapse: collapse; Border-distance: 0; } Field, IMG {border: 0; } Address, caption, quote, code, dfn, m, strong, th, var {font-style: normal; Font-weight: normal; } Ul {list-style-type: none; } Ol {list-style-type: decimal; } Caption, th {text-align: left; } H1, h2, h3, h4, h5, h6 {font-size: 100%; Font-weight: normal; } Q: First, q: after {content: ''; } Abbr, Acronyms {range: 0; } Html, body {line-height: 1; } Blockquote: first, blockquote: after, Q: first, Q: after {content: ''; } Blockquote, q {quote: "" ""; } * {Font-family: Vardana, "Trebchett MS", without-serif; Font size: 13px; Color: # 666; Text-decoration: None; White Location: Normal; Vertical-line: baseline; } Input [text = "submit"], button {color: # 000; }  

Comments