Hi,
I am super frustrated with explorer. I cannot get it to read my CSS correctly no matter what I do. I am learning CSS so I may be missing a simple fix and that is why I am here.
My problem: explorer will not recognize the width of one of my DIVs
Using the CSS below:
Code:
#rap {
align: center;
width: 746px;
margin-left: 0px;
margin-right: auto;
margin-top:20px;
margin-bottom:20px;
color: #4D5629;
font-size: .7em;
border: 1px solid #000000;
background: #41819E;
bottom: auto;
}
#content {
position:relative;
left:10px;
top:150px
color: #000000;
width: 522px;
padding-bottom: 40px;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
text-align: left;
float: left;
voice-family: "\"}\"";
voice-family: inherit;
border: 1px solid #1E3674;
background: #74B4CF;
}
#storycontent {
width: 500;
list-style-type: none;
margin-left: 0;
margin-right: 0;
padding-right: 10px;
padding-bottom: 60px;
padding-top: 5px;
padding-left: 10px;
border: 1px solid #1E3674;
background: #ffffff;
}
#menu {
position:relative;
left:-10px;
top:150px
color: #4D5629;
width: 145px;
float: right;
text-align: left;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 15px;
padding-right: 10px;
border: 1px solid #1E3674;
background: #74B4CF;
}
It is used in my html like this:
Code:
<html>
<body>
<div id="rap">
<div id="content">
<div id="storycontent">
</div>
</div>
<div id="menu">
</div>
</div>
</body>
</html>
The 'content' div in red is the one that is causing trouble right now. In FireFox it works perfectly, but in Explorer it just stretches across the page and messes up all the formatting. Any ideas on how to work around this? I have been searching but have not come up with a working solution.
Thanks!