开发者

help aligning with 960 gs

开发者 https://www.devze.com 2023-03-20 23:37 出处:网络
here is some code: <div id=\"featured\" class=\"grid_8\"> <img src=\"images/rotating.jpg\" />

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

精彩评论

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