DIV的用法 最近学<div>......由于上课开小差(不小心的)。。所以不知道怎么用怎么办题目是用<div>编写一个3行2列的表格。第一行和第三行合并。。第二行第一列中在添加一个4行的表格。 想发下图的。但不知道怎么发只好用语言描述了。哎~也不知道你们看不看得懂啊 。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 虽然楼主描述的不太清晰,但感觉还是没那么糟糕~position:absolute;控制top和left来操纵div的位置、width和height来操纵div的大小就可以了。 <div style="width:800px;" id="mainDiv"><div id="firstRow" style="width:800px;"> 111</div><div style="display:inline;width:800px;margin:0px 0px 0px 0px;border:none;"><div id="leftCel" style="width:397px;float:left;" > 222</div><div id="rightCel" style="width:398px;float:right; " > 333</div></div><div id="lastRow" style="width:800px;"> 44</div></div>是不是这样,随便写了下~~~ <style>body div{border:1px solid;margin:1px 1px 1px 1px;}<style>再加个STYLE吧 installanywhere 转义符 ssh action请求后 页面分割思路的问题 学习ssh 谁有java servlect的中文api发 一个谢谢了 hibernate中hibernate-extensions配置 ㊣㊣㊣高分求解工作流(WorkFlow)的选择,请各位入内小憩一会儿㊣㊣㊣ 我的JNDI写得不对,向各位高手求助! 在线等struts的超联接问题 在使用ant 的过程中,遇到的问题?望高手能帮忙解决。 新版SJEP平台,轻松开发部署EJB应用 实例化对象 关于jfreechart的问题(菜鸭问题!)
position:absolute;
控制top和left来操纵div的位置、width和height来操纵div的大小就可以了。
<div id="firstRow" style="width:800px;"> 111</div>
<div style="display:inline;width:800px;margin:0px 0px 0px 0px;border:none;">
<div id="leftCel" style="width:397px;float:left;" > 222</div>
<div id="rightCel" style="width:398px;float:right; " > 333</div>
</div>
<div id="lastRow" style="width:800px;"> 44</div>
</div>
是不是这样,随便写了下~~~
body div{
border:1px solid;
margin:1px 1px 1px 1px;
}
<style>
再加个STYLE吧