Jump to content

Alligment issues between Firefox & Explorer?


Solarpitch

Recommended Posts

Hey,

You know the way firefox and explorer slightly generates your web page differently. ie. The sizes of div's are different and alligment is slightly off in one and fine in the other! Is this due to css not formatting correctly in one of the 2 browsers?

Whats the best way to ensure your web page looks consistent in both browsers?

Cheers.
[quote]Whats the best way to ensure your web page looks consistent in both browsers?[/quote]

Answer is KISS
Keep It Stupid Simple

There's now easy answer to your question. Solutions and workaraounds are always possible. Keep in mind that problems are usually met when u use div's for positioning/layout. If u can't solve it with divs, use tables. Be careful when u use paddings and negative margins, its a sure way to hell.
in answer to solarpitch's initial question...

NO!

The problem is how these browsers implement the box model.
[url=http://css-discuss.incutio.com/?page=BoxModelHack]http://css-discuss.incutio.com/?page=BoxModelHack[/url]

For future reference using strict doc type decalrations does make IE 6 do things properly (mostly) - ie it renders box model in standards mode instead of quirks...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.