Daniel Kivatinos
Daniel Kivatinos

Reputation: 25006

Why does the DIV tag render differently in IE8 and Firefox?

Why do div tags render differently in IE8 and Firefox?

Is there a way to have them rendered the same?

This is a very general question, the reason I ask is I am fighting both browsers when using div tags, some elements are not rendering the same.

Upvotes: 1

Views: 3378

Answers (1)

Sampson
Sampson

Reputation: 268344

You may benefit from starting off with a reset.css. This generally fixes any differences between multiple browsers. I suggest Meyer's (online at http://meyerweb.com/eric/tools/css/reset/).

Simply download that .css file, and reference it first before any other css rules/files. This assumes that your problem is with the actual browsers, and not with your markup.

Upvotes: 7

Related Questions