English 中文(简体)
如何在Safat Reader每张图像之后强行打破一条线?
原标题:How to force a line break after each image in Safari Reader?
  • 时间:2010-06-16 15:32:40
  •  标签:
  • html
  • safari

我无法在当地的超文本档案中启用Safat Reader,因此我不能给你一个榜样,而只能描述我的问题:

我的博客员额的标志基本上是:

<div class="post">
 <div class="post-header">Hello, World</div>
 <div class="post-body">
  <p>Look at this picture:</p>
  <p><img src="http://37prime.com/news/wp-content/uploads/2008/03/safari_icon.png"/></p>
  <p>Isn t that a nice picture?</p>
 </div>
</div>

这在所有浏览器,包括Safari,都是预期的。 然而,在Safari Reader,第三段“冰貌吗? ”是围绕图像而不是根据自己的一段。

是否有任何人经历过类似的问题?

问题回答

Don t only use <br />, but <br clear=“all”/>

.post-body img {
  display: block;
}

.。

<img src= ImagePath  alt="not found" style="display:block">

使用<代码><br/> tag,每行末/之后





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签