0

我目前有http://twclaimer.com/twopcenter/internal/index.html,如您所见,右侧的广告将所有内容向下推。如果您查看页面底部,这些框符合我的要求。

我怎样才能让右边的广告不把所有的内容都往下推?

4

1 回答 1

0

When using float, when elements need to go to a new line they clear down to the bottom of the tallest element from the previous line.

In other words, there's no way for you to have the boxes where you say you want them if you keep using float.

It's okay to use float: right for the ad box, but for the rest you may be better off using display:inline-block instead.

于 2012-07-26T20:19:18.170 回答