Why won't this show up in IE, but fine in FF?

Discussion in 'CSS' started by Disco_stu, Feb 20, 2008.

  1. #1
    http://www.hansfalk.se/index2.html

    I've removed everything but the div tag I'm testing.

    <body>
    	<div id="container">k
    		</div>
    </body>
    Code (markup):
    The css file I'm using is located at

    http://www.hansfalk.se/css/main.css

    and the rule that I'm trying to apply is

    #container {
    			width: 760px;
    		    border: 1px solid #FF0000;
    			margin: 10px;
    			margin-left: auto;
    			margin-right: auto;
    			padding: 10px;
    		}
    Code (markup):
    It shows up with the red border fine in FF, but refuses to do so in IE. Can anyone explain why that is and how to get around it? All I'm trying to do is keep the main content within that div tag and make sure it's width is 760, but it's not working in IE
     
    Disco_stu, Feb 20, 2008 IP
  2. Disco_stu

    Disco_stu Banned

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Never mind...figured it out by removing one item at a time. It was the meta description that somehow caused it :confused:
     
    Disco_stu, Feb 20, 2008 IP