Jump to content

Novice frustration - browser compatibility


kaijubait

Recommended Posts

Hello all,

If this is a stupid query, I'll email everyone my address so that they can come beat me up later.

 

This is the site for my new magazine:

http://www.kellerwerks.com/MAT.html

 

It looks great in Safari, but not so great in Firefox and Explorer (which I'm assuming is what most people will be viewing it in). I'm reasonably certain this has something to do with the CSS. I made some changes to the CSS file on the local end involving the bounding box of the Container (i.e - I removed any values and changed them to 'auto')- Dreamweaver now tells me that there are supposedly no browser compatibility issues, but the results are less than desirable, and I haven't bothered loading that one to the server.

 

Could somebody who knows more about this tell me what I need to do? The way it looks in Safari is what I'd like to have on all browsers.

Link to comment
Share on other sites

In most cases, errors like this come down to setting both a width/height and margins/padding on the same element (as you are currently doing with .twoColFixLtHdr #mainContent). In general, IE has issues defining the correct width or height of an element if that is the case. I'd suggest setting a width or height on one div, and then adding padding/margins on an element inside that div. Simplifies a lot of headaches.

Link to comment
Share on other sites

Thanks for the feedback. I've removed the margins/padding from the mainContent div and placed that content inside tables within the div. Things look fine in Firefox and IE 7 now, but I'm still having issues with IE 8. Is that something I'm just going to have to live with?

Link to comment
Share on other sites

Thanks for the feedback. I've removed the margins/padding from the mainContent div and placed that content inside tables within the div. Things look fine in Firefox and IE 7 now, but I'm still having issues with IE 8. Is that something I'm just going to have to live with?

IE8 is not perfect but if you have tried just about everything then you can add the IE Emulate tag in the header.

 

 

That will make IE8 browsers render IE7.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...