943,865 Members | Top Members by Rank

Ad:
Dec 18th, 2007
0

Help!

Expand Post »
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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
benboomboom is offline Offline
1 posts
since Dec 2007
Dec 18th, 2007
0

Re: Help!

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
Reputation Points: 17
Solved Threads: 1
Junior Poster in Training
GiorgosK is offline Offline
52 posts
since Jun 2007
Dec 18th, 2007
0

Re: Help!

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:
html Syntax (Toggle Plain Text)
  1. <link href="default.css" rel="stylesheet" type="text/css" />
  2. <!--[if IE]>
  3. <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!
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: how to create css webpage in all browsers same
Next Thread in HTML and CSS Forum Timeline: Can someone tell me how its calle or works?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC