Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE's Default CSS Values [closed]

I have a web application that I'm working on for work and its not very Firefox friendly (design was made 2 years before I started with the company). There are some CSS issues that I am having problems with and I can't use a CSS Reset because the page design is pretty much set in stone and it would cause more work then I need right now.

Does any one have a list of IE's default CSS values so I can set it in a css so this thing will be more Firefox friendly?

like image 591
RoboDev Avatar asked Dec 19 '08 17:12

RoboDev


People also ask

How do I reset CSS to default?

No, it is generally not possible. Once some CSS (or HTML) code sets a value for a property on an element, there is no way to undo it and tell the browser to use its default value. It is of course possible to set a property a value that you expect to be the default value.

Can default property value be restored through CSS?

In short, there's no easy way to restore to default values to whatever a browser uses . The closest option is to use the 'initial' property value, which will restore it to the default CSS values, rather than the browser's default styles.

What is default CSS value?

The initial value of a CSS property is its default value, as listed in its definition table in the specification. The usage of the initial value depends on whether a property is inherited or not: For inherited properties, the initial value is used on the root element only, as long as no specified value is supplied.

Can CSS set default display value?

We can change the default value of how will the HTML element be rendered using the CSS Display property. NOTE − The <div> element has a default CSS display set to block and <span> element has a default CSS display set to inline.


1 Answers

Here is a CSS comparison chart. IE actually stores the CSS settings in the ever-so-dumb-place, the Registry. Another issue is whether the doctype of your application is using standards mode or quirks mode.

If it's using quirks mode, you're in trouble. Fixing things for non-IE issues will break IE issues etc. You will go insane.

like image 128
Diodeus - James MacFarlane Avatar answered Oct 05 '22 08:10

Diodeus - James MacFarlane