Html 用于在最右下角制作部分的div标签
如何在底部div中进行最右边的除法,如给定代码中所示,例如仅使用HTMLdiv标记在右侧的方框中的小方形方框?还告诉我如何调整它的大小Html 用于在最右下角制作部分的div标签,html,Html,如何在底部div中进行最右边的除法,如给定代码中所示,例如仅使用HTMLdiv标记在右侧的方框中的小方形方框?还告诉我如何调整它的大小 --> 卖主 $(文档).ready(函数(){ $(“按钮”)。单击(函数(){ $(“p”).hide(); }); }); 我的五大供应商 点击我 修复HTML和CSS后,您可能应该尝试如下定位: <style> div#bottomRight{ position:absolute; bottom:0; right: 0: //or whate
-->
卖主
$(文档).ready(函数(){
$(“按钮”)。单击(函数(){
$(“p”).hide();
});
});
我的五大供应商
点击我
修复HTML和CSS后,您可能应该尝试如下定位:
<style>
div#bottomRight{
position:absolute;
bottom:0;
right: 0: //or whatever value fits your needs
width: 200px; //or whatever value fits your needs
height: 50px; //or whatever value fits your needs
}
</style>
div#右下角{
位置:绝对位置;
底部:0;
右:0://或任何符合您需要的值
宽度:200px;//或任何适合您需要的值
高度:50px;//或任何适合您需要的值
}
您需要在宽度和高度值中添加“px”。请看这里的演示
我的五大供应商
点击我
Your,and Your-试试基本的自动化QA。你怎么能这么说??请告诉我一个合理的理由。我可以这么说,因为我对HTML和CSS非常了解,当我浏览你的代码时,我可以发现你犯的许多错误。我链接到验证器,尝试使用它们。
<body>
<div align="top" style="width:940px;height:400px;border:solid;border-width:4px;">
<center><p>My top five Vendors</p></center>
<button>Click me</button>
</div>
<div class="bottom" align="bottom" style="height:350px;width:940px;border:solid">
<div align="left" style="height:350px;width:470px;border:solid">
<div align="bottom" style="height:175px;width:467px;background:red;">
</div>
</div>
</body>