IE tricks

I hate IE (Internet Explorer). Let this be known out front. But here are some tricks that have proven very helpful. If you have some more suggestions or tricks for IE and would like to submit them email me.

!Important and IE

Normally in CSS whichever rule is specified last will predominate. However if you use !important after a command then this CSS command will predominate regardless of what appears after it. This is true for all browsers except IE.

For Example:

margin: 30% !important; margin: 30px;

The top margin will be set to 30% for all browsers except IE, which will have a margin of 35px. This will prove useful, especially when using margins (such as in this example) as these can display slightly differently between IE and other browsers.

Leave A Reply Here

  Username [*]

  Email Address [*]


Subscribes to this post comments updates

Please Note: All comments maybe under going moderation so there is no need to resubmit the comments. it will appeared when admin approved it, feel free to subscribes to the post comments rss to stay update