0

I have a full width page template in wordpress and have created a box inside this through a plugin. However, I need the box to have the text wrapping around this. The plugin developer has said to wrap the text inside a fixed width element. For this I am a little confused and any help would be greatly appreciated. The page in question is http://www.haylockpittman.co.uk/refurbishment-and-renovation-of-kitchens/

Thanks in advance.

4

3 回答 3

0

try this if you don't knew it already :

<div style="position:fixed;">
    this is a fixed area 
    </div>
于 2013-10-30T12:16:00.407 回答
0

当您应该向父级应用时,您正在向子级 DIV 应用宽度。

您的 CSS 选择器当前显示为

.grid3 .content_block

如果您将其更改为.content_block_wrapper.grid-3并添加了 afloat:left;它将起作用。您还需要删除<div class="clearboth"></div>容器下方的内容。

于 2013-10-30T11:49:09.170 回答
0

我认为最简单的方法是更改​​此 html:

<div class="content_block_wrapper grid3 clearfix">

对此:

<div class="grid3">

然后在上述关闭后删除<div class="clearboth"></div>生命。<div>

您可能需要该框右侧的边距,因此将其添加到 CSS 中.content_block general-2

于 2013-10-30T12:29:34.697 回答