954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help!

I'm new to html and css my web site display's ok in fire fox but look's a mess in IE?
i some one have a look at
benboom.up.md
and let me know?

benboomboom
Newbie Poster
1 post since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

Try this
#main-container{
margin:20px auto;
...
}

or you might want to start from a dead center example
http://www.wpdfd.com/editorial/thebox/deadcentre4.html
that is known to work with most important browsers

GiorgosK
Junior Poster in Training
52 posts since Jun 2007
Reputation Points: 17
Solved Threads: 1
 

Wow, I looked at your site in both IE and Firefox. Brings back some bad memories. Here is what I do. Copy your current css and rename the copy ie_fixes.css. This sheet will be used to fix Internet Exploder. Here's an example of how to do it:

<link href="default.css" rel="stylesheet" type="text/css" />
<!--[if IE]><style type="text/css">@import "ie_fixes.css";</style><![endif]-->

The first, default.css is a pretty standard way to implement a style sheet. All browsers will read this. The second is only read by IE. All other browsers treat it as a comment and ignore it. IE will read both but will use ie_fixes. You'll have to modify the ie_fixes.css until you get things looking right. Hope it helps!

buddylee17
Practically a Master Poster
697 posts since Nov 2007
Reputation Points: 232
Solved Threads: 137
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You