Browser Compatibility ( My webpage contols are not looking in a proper layout in Mozilla, Opera..)
-
Hi, When I open my website in different browsers Controls layout is not in a correct position....It looks good in internet explorer(6.0)....... Please help me as soon as possible........ Thanking you Mcmilan.
Thats because browsers render css differently. A webiste designed for IE might not look correct in Firefox. This is mainly down to the fact that IE almost corrects your mistakes in your css code where as firefox doesnt. You will just have to go through it and change parts to suit both browsers
-
Hi, When I open my website in different browsers Controls layout is not in a correct position....It looks good in internet explorer(6.0)....... Please help me as soon as possible........ Thanking you Mcmilan.
mcmilan wrote:
When I open my website in different browsers Controls layout is not in a correct position....It looks good in internet explorer(6.0)...
This is very common for a web site that is developed for IE. The CSS is written to depend on the rendering errors in IE, so it will not look as intended in any browser that renders the page correctly (which is pretty much all other browsers). Here you can find a list of some of the rendering errors in IE[^]. First of all, make sure that you have a working doctype tag for the page, so that it renders in standards compliant mode, not it quirks mode. I suggest that you build the page so that it works correctly in Firefox, then it will almost always look the same in other browsers (except IE). After that you can tweak the CSS to work for IE also.
Despite everything, the person most likely to be fooling you next is yourself.