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.
Link to comment
Share on other sites

[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.
Link to comment
Share on other sites

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...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.