两个div如何让div内文字通过float 环绕在图片或广告周围

CSS教程 - 六月 28, 2012 - 来源:单点日志 - No Comments -

两个div在同一个div块级元素下,有时候float:left单纯设置,不同浏览器解析不一样,firefox没有问题,但ie可能存在问题,<div class=”asset-body”>内容并没有围绕class=”gooad”布局,这个时候在.asset-body{clear: none;display:inline;}css添加display:inline;貌似可以了,嘎嘎。

比如

<div>

<div class=”gooad”>广告或者图片</div>

<div class=”asset-body”>

<p>文字1</p>

<p>文字1</p>

<p>文字1</p>

<p>文字1</p>

<p>文字1</p>

</div>

<div>

当然如果广告周围没有div直接在.gooad css中设置float:left就足够了。

.gooad{padding-top:10px;float:left;margin-bottom:10px;margin-right: 10px;position:relative;}
.asset-body{clear: none;display:inline;}

效果如下:

08062008109.jpg

文字1

文字2

文字2

文字2

文字2

I’m new on this forum and of course I have a problem…
My old CBR600F3-97 is not running as expected this year. It starts ok both with cold and warm engine. No problems there. The response with cold engine is also good.
The problem starts when the engine is warm (normal temp).
Rough idle is one symptom, pending from 1400-2000 rpm. But the main problem is the bad throttle response on low rpm’s. It sounds like it has a “sore throat” or isn’t running on all cylinders. A “durring” sound and it also vibrates. On higher RPMs (>5000) it starts screaming again.
Current mileage is 32000 km (20000 miles)
Should I start looking at the ignition or the carburetors?
Thank you for your time.

文字2

It sounds like you might have bad gas, has the bike been sitting?
I would start with the carbs. Take the full bank of carbs off, and clean thoroughly but do not seperate them. Also, check the fuel pump you can bypass the pump and gravity feed the carbs, or check the flow on the pump.
Seafom the tank heavily, Drain all the gas and seafoam again.
Let me know how it goes and I will see what I can do.



无觅相关文章插件,快速提升流量

《两个div如何让div内文字通过float 环绕在图片或广告周围》由单点日志原创提供!
转载请注明:http://spoint.babyshoot.cn/archives/2012/06/divdivfloat.html

No Comments│赶紧发话! »

发表评论

您必须登录后才能发表评论。
8