I found and have faced that if a website is looking better in internet explorer then it will not be good in firefox have any one face this problem?.
That's because different browsers render CSS differently, and without a CSS reset, they have different default stylesheets behind them. (eg, IE pages normally starts 15pixels from top margin, if i rmb correctly, atleast for IE6) But...most of the difference you'll find.. IE is usually the only browser that renders CSS the most differently from any other browsers you can find. (A website that's loaded on opera should look more or less similar to firefox, google chrome and safari, while maybe very very different from IE)
Different browsers have different bugs. For example Internet Explorer 6 has 3 pixel gap problem. Apart of that they have different default margins for headline elements.
It boils down to the site not being built correctly. When building a site it should be checked in all browsers. The sooner people stop using IE6 the better
I have usually found that major appearance problems on my sites have been caused by an incorrect code somewhere - fix the code and it then looks ok in all the browsers I check (ie 6 7 8, firefox, opera, safari and chrome). I have found some odd annoying little quirks between browsers though - eg the way ie and firefox both seem to interpret a line break differently.
jj++ yes, most differences are due to code bugs. There's a right way, and then there's a half-assed way of building web pages. The half-assed way is more likely to render well in one browser but not another : ) If your site looks great in IE but like ass in every other browser, you did it wrong, and you did it very wrong. And the rest are true bugs, individual quirks, and vendor interpretation: in lots of places in the specs, something is considered "undefined" meaning there's no set rule and browser vendors are free to make it as incompatible with every other browser on the planet as they wish. Which kinda defeats the point of having a standards body make guidelines in the first place, but... whatever.
heh heh .. try telling that to these guys .. http://www.w3.org/ The site is built properly .. but IEX doesn't seem to think so.