Solarpitch Posted January 26, 2007 Share Posted January 26, 2007 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 Link to comment Share on other sites More sharing options...
fenway Posted January 26, 2007 Share Posted January 26, 2007 Post the relevant code snippets (and doctypes). Quote Link to comment Share on other sites More sharing options...
janroald Posted February 2, 2007 Share Posted February 2, 2007 [quote]Whats the best way to ensure your web page looks consistent in both browsers?[/quote]Answer is KISSKeep It Stupid SimpleThere'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. Quote Link to comment Share on other sites More sharing options...
worldworld Posted February 2, 2007 Share Posted February 2, 2007 Please paste the code so that we can have actual picture what it is....Thanks..... :) Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 2, 2007 Share Posted February 2, 2007 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.