开发者

help aligning with 960 gs

here is some code:

<div id="featured" class="grid_8">
<img src="images/rotating.jpg" />
</div> <!-- end featured -->

<div id="upco开发者_如何学JAVAming" class="grid_4">
<h2>Upcoming Event Dates</h2>
</div>

<div id="clear"></div>

yet the id "upcoming", dips down a bit. the text should line up with the top of that image.

help aligning with 960 gs

adding alpha to grid_8 and omega to grid_4 doesn't work. how can i fix this?


H2 by default has a margin on the top. Try removing this.


Without an actual page to look at or your CSS, I'd say it's probably padding on #upcoming or a combination of padding and/or margin on the H2 element.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜