<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 9 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 9 年前。
我的网站是http://daplonline.in/naukriedu2/我在 Firefox 和 crome 中得到了不同的输出如何修复标题 搜索工作和求职者加入我们表格在右边:( 如何在 CSS 中解决这个问题
html在这里
<div id="rig">
..
..
</ div>
CSS
#rig
{
float:right;
margin:10px;
}
最佳答案
我自己找到了解决方案我改变了我的 table 宽度和高度我得到了很好的输出是的一些不同但工作得很好 我创建了一个主 DIV,并在左侧和第二个右侧放置 1 个 div。
#sld
{
background:url(img/sld.jpg) no-repeat;
width:1000px;
height:296px;
}
#lef
{
margin-top:15px;
float:left;
width:300px;
height:300px;
}
#rig
{
margin-top:30px;
width:650px;
float:right;
height:300px;
}
关于html - CSS 在 Firefox 和 Chrome 中提供不同的布局,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24198873/