Jump to content

internet explorer css - page displaying incorrectly


map200uk

Recommended Posts

hi,

 

 

my site works fine in Opera/firefox/netscape but in IE the layout is screwed up

 

there is a container to hold all the divs, then a div on the left (navAlpha) some links on the right in a div (navBeta)

 

and a content div in the middle, when viewed in IE the navAlpha and navBeta endup as navAlpha on left and navBeta underneath on left too

 

if someone has any idea or can point me in the right direction, that would be great

 

thanks

 

html, body, #container {
min-height: 100%;
width: 100%;
height: 100%; 
margin: 0;
padding: 0;
}

html>body, html>body #container {
height: auto; 
}

#container {
position: absolute;
top: 20px;
left: 0;
}
body {
color:#333;
background-color:white;
margin:20px;
padding:0px;
font:11px verdana, arial, helvetica, sans-serif;
}

.Content>p {margin:0px;}
.Content>p+p {text-indent:30px;}




.container {
position:fixed; 
width:auto;
min-width:120px;
margin:0px 210px 20px 170px;
border:1px solid black;
background-color:white;
padding:10px;
}

.content {
position:relative;
width:auto;
min-width:120px;
margin:0px 210px 20px 170px;
border:1px solid black;
background-color:white;
padding:10px;

}

#navAlpha {
position:fixed ;
width:150px;
top:20px;
left:0;
border:1px dashed black;
background-color:#eee;
padding:10px;
z-index:2;


voice-family: "\"}\"";
voice-family:inherit;
width:128px;
}

#navBeta {
position:fixed ;
width:150px;
top:20px;
right:0;
border:1px dashed black;
background-color:#eee;
padding:10px;
z-index:3;
}

 

map

Link to comment
Share on other sites

without sounding thick i cant seem to make it work?

 

the html code is:"

 

<div id="container">
<div class="content">
<h1>YMMS - Your Media System<br> </h1>
<p>

</div>

<div id="navAlpha">
<h2>Links</h2>
<p>
	<ul<li><a href=<?php echo "$_SERVER[php_SELF]?page=browseartist&action=browserating"?>>Browse => Ratings </a></li></ul>
</p>
</div>

<div><div id="navBeta">
<h2>*****</h2>
<?php $db->query("SELECT COUNT(*) FROM Song"); $row=mysql_fetch_array($db->result); echo "<br> Currently serving \n  $row[0] \n files." ;?> <?php 
</div></p></div>

</body></html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.