Hi..
anybody help plz..
diff ..between mozilla & IE.
here some pages r differ(alignment) from mozilla to IE..
plz solve this problem..how can i rectify..

Thanks in Advance..

Hi Kishore,

Problems between compliant and non-compliant browsers are well-known and well-documented--meaning. What this means is Mozilla follows W3 Standards while Microsoft follows Microsoft standards.

Most of the time, these glitches can be fixed by using external style sheets specific to IE browsers. In other words, you would have a default style sheet, but when IE5, 6, or 7 is encountered, that particular style sheet would be called.

Here's what the code might look like:

<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if IE 7]>
<link href="style-ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 6]>
<link href="style-ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->

One thing to keep in mind is you only have to change the CSS for the particular element that is not aligned properly. So, the user will always use the default style sheet, but if the user has IE6, for example, maybe the font size for the <h1> tag needs to be smaller--and that change is all you will need to include on the IE6 style sheet.

Hope this helps.

Hi..
Thank You..
now i am going to use this..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.