Internet Explorer Issue!!!!

by 0oo0
2 replies
  • WEB DESIGN
  • |
ok im learning how to hand code my sites now BUT I can't figure out why this wont work in Internet Explorer.

****
here is my css:




#wrap
{
position:relative;
width:960px;
height:600px;
margin:auto;
background-color:white;
}

body
{
background-color:red;
}

#col1
{
width:320px;
height:250px;
border:1px solid black;
}

#col2
{
position:absolute;
top:0px;
left:320px;
width:320px;
height:250px;
border:1px solid black;
}

#col3
{
position:absolute;
top:0px;
left:640px;
width:320px;
height:250px;
border:1px solid black;
}

#col4
{
position:absolute;
top:350px;
width:320px;
height:250px;
border:1px solid black;
}

#col5
{
position:absolute;
top:350px;
left:320px;
width:320px;
height:250px;
border:1px solid black;
}

#col6
{
position:absolute;
top:350px;
left:640px;
width:320px;
height:250px;
border:1px solid black;
}


*********
here is the html:

i have a declared doctype too


<html>
<head>
<link rel="stylesheet" type="text/css" href="n1.css"/>

</head>
<body>

<div id="wrap">

<div id="col1">
<p>Here is col 1</p>
</div>

<div id="col2">
<p>Here is col 2</p>
</div

<div id="col3">
<p>Here is col 3</p>
</div

<div id="col4">
<p>Here is col 4</p>
</div

<div id="col5">
<p>Here is col 5</p>
</div

<div id="col6">
<p>Here is col 6</p>
</div


</div>


</body>
</html>
#explorer #internet #issue
  • As you posted this in 2 different forums, I ask you AGAIN, What Doesnt Work?
    {{ DiscussionBoard.errors[4077966].message }}
    • Profile picture of the author Johnny Optimo
      lol.. yeah... if you want anyone to help you in the future with this sort of thing, take a screenshot or explain your problem.

      From what I can see, a lot of your elements are missing the '>' on the closing div tag which would cause serious issues

      it might display okay in some browsers that try to correct bad code
      {{ DiscussionBoard.errors[4078996].message }}

Trending Topics