English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm checking with w3schools.com and I can't seem to find why.

2006-12-09 07:01:30 · 6 answers · asked by Enigma 1 in Computers & Internet Programming & Design

6 answers

Internet Explorer is semi-compliant to CSS standards. As a matter of fact, all browsers are semi-compliant. Opera is the closest to being fully CSS compliant.

IE7 added a lot of CSS standards support but is still very lacking. IE 6 had terrible CSS support. The other problem with IE versions earlier than 7 is the box model is rendered differently than other browsers. IE also has their own proprietary CSS functions that are not supported by other browsers called filters.

Your CSS may be correct but you may need to add a "hack" for Internet Explorer users to properly see your site. You can write your CSS for Internet Explorer then add instructions after the first CSS that can only be read by the other browsers. Here is an example:

/* All Browsers Read These Instructions */

.mybox {
padding: 10px
margin: 0px;
}


/* Only Non-IE Browser Read These Instructions */
/* These Instructions Override The First Set */

html>body .mybox {
padding: 5px;
margin: 5px;
}

Google for "IE CSS Hacks" and look for the CSS attribute that you are having problems rendering in IE.

Good Luck.

2006-12-09 07:42:24 · answer #1 · answered by Chris B 4 · 0 0

Code for Firefox/Opera first. Then modify to work with Internet Explorer. Do NOT go the reverse direction.

Internet Explorer is notorious for poor support of standards. It fails miserably in several ways with regards to CSS.

2006-12-09 07:08:05 · answer #2 · answered by csanon 6 · 0 0

Internet Explorer is notorious for misinterpreting some css styles, but it does support most of CSS1 and CSS2. Most likely you have an error in your css code. You can use online validation to check your HTML and css. There's a css validator at http://jigsaw.w3.org/css-validator/?uri=referer or you can use the link in Firefox's web developer toolbar.

2006-12-09 07:47:32 · answer #3 · answered by injanier 7 · 0 0

This problem lies in which IE's version. they have probable the worst updates on cyber web web site layout's new(ish) useful elements (like css). follow midsection...midsection round the content you want to be dependent. That html code is common.

2016-11-25 01:11:50 · answer #4 · answered by ? 4 · 0 0

Your code is most likely a little bit off. Take a break and look at it with fresh eyes in a little while.

2006-12-09 07:09:28 · answer #5 · answered by Ione 2 · 0 0

yes

2006-12-09 07:14:45 · answer #6 · answered by Mitchell b 3 · 0 0

fedest.com, questions and answers