Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html IE6/7右浮动错误_Html_Css_Internet Explorer - Fatal编程技术网

Html IE6/7右浮动错误

Html IE6/7右浮动错误,html,css,internet-explorer,Html,Css,Internet Explorer,IE6/7未正确显示左侧。我不想为内容设置宽度,你知道IE的修复程序吗? 如果我将内容的内部元素向左浮动,则在重新排列元素后是正确的, 但我想让浮动元素向右移动 请告诉我你的解决办法 最好的问候不太确定,但从我的头顶。。。试试这个 您可以添加这些并查看 #container { background-color: #CCC; height:100px; } .clear-fix { overflow: hidden; _height:1%; } #navigation { flo

IE6/7未正确显示左侧。我不想为内容设置宽度,你知道IE的修复程序吗? 如果我将内容的内部元素向左浮动,则在重新排列元素后是正确的, 但我想让浮动元素向右移动

请告诉我你的解决办法


最好的问候

不太确定,但从我的头顶。。。试试这个 您可以添加这些并查看

#container {
background-color: #CCC;
height:100px;
}
.clear-fix
{
    overflow: hidden;
    _height:1%;
}
#navigation {
float: right;
margin-right: 10px;
background-color:Aqua;
}
#content {
float: left;
margin-left: 10px;
background-color:Orange;
}        
#content div{display:inline; float:right;}
#content a {float:right; display:inline;margin-right:5px;}


<body style="direction:rtl">
<div id="container" class="clear-fix">
<div id="navigation"><a href="#">hi there ddd ddd</a></div>
<div id="content">
    <div>somthing else</div>
    <a target="_blank" href="#" ><img src="anything.jpg" style="width:32px; height:32px"/></a>
    <a target="_blank" href="#" ><img src="anything.jpg" style="width:32px; height:32px" /></a>
</div>
</div>
</body>
#container{
    width:[your width];
}
#content{
    display: inline-block;
}