We are coming across some problems related to CSS and Div, especially related to the placement of div and spacing. Firefox displays the div at the place we want while IE doesn't take such in consideration. Don't know why. My Question was "Is there any standard practice which displays everything same in all browsers?"
As long as you write your markup according to the W3C documentation, you will have little problems with any modern browser displaying the same. The exception is IE which is not a modern browser and the worst on the planet. So always test your markup in a modern browser, then check in IE to see if/when it screws things up. But the bugs and quirks in IE are known, as are the hacks to fix it.
Hi there Div is mostly used to avoid cross browser problems.You can try it by making separate css class for different browser. Regards WS
i think this is very simple problem there which you facing, you should control your site margins and paddings between <div> classes, because i face these kind of problems on daily bases, because i'm working on products (websites).
i think this is very simple problem there which you facing, you should control your site margins and paddings between <div> classes, because i face these kind of problems on daily bases, because i'm working on products (websites).