css中浮动重叠,CSS浮动重叠问题

任何人都可以帮助一个基本的HTML/CSS浮动问题?我有一个浮动左边的div框的常规div。我想有一个带有边框的h1,但它与浮动左边的div重叠。有小费吗?示例代码在下面显示问题。CSS浮动重叠问题

[编辑:这是一个问题的图像:http://anony.ws/i/2012/06/21/UCHvY.png。我想最终的结果只是让我用h1的蓝线而不用重叠在左边。左栏的高度动态]

.wrapper {width:600px;}

.boxcolumn {

float:left;

width:150px;

border:1px red solid;

margin-right:12px;

}

h1 {border-bottom:1px #CCC solid;}

Left Column is not a fixed height. Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a

Some Title Goes Here

blah blah blah blah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blah

Some Title Goes Here

Left Column is not a fixed height.Left Column is not a fixed height.Left Column is not a

2012-06-21

james

+0

我不明白,你想下面的H1? –

+0

似乎有不同的想法围绕着如何解决你的问题。我认为这会有帮助,如果你可以提供一个线框框架的例子,说明你如何期待你的布局。 –

+0

添加了一个屏幕快照,显示了我想要实现的内容http://anony.ws/i/2012/06/21/UCHvY.png –

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值