<分区>
我想对齐本站顶部的两张图片http://paulcwebster.com 旁边有文字。
到目前为止,我能够将两个图像并排对齐,但我遇到了以下问题:
1) 图片之间没有任何空格的文本。
2) 对于不同浏览器上的图像,文本太短或太长。
3) 文字大小与图片位置不符
4) 之后无法将文本“Recent Publications”移到左侧(我已将 align="left"放在它自己的 div 中)
这是我的代码:
<div >
<img src="gfx/FrontImage1.jpg" width="180" height="180" alt="Image1" style="float:left">
<img src="gfx/FrontImage3.jpg" width="180" height="180" alt="Image2" style="float:left">
<span ><p>Paul Christopher Webster is a freelance writer and documentary film director based in Toronto, Canada. He has reported from 20 countries since 1992.</p>
Paul's work in film has appeared on the Arte, BBC, CBC, Deutsche Welle, Discovery, National Geographic, Slice, SWR and Vision Television networks. His work as a writer has been published in dozens of magazines, journals and newspapers across Canada, the U.S, and Europe. </p>
<p>He has won four national magazine awards for his writing, and Tier One Journalism Award from the Canadian Institutes of Health Research. His work on documentary films has garnered awards from the Canadian Association of Journalists, Hot Docs, the Canadian Academy of Film and Television, and PARISCIENCE, the international festival of scientific films.
<p>Paul’s work focuses on themes in business, science, and politics. For samples of his work in these categories, please click on the links to articles below.
</span>
</div>