使图像保持在文章的左侧

时间:2016-02-04 01:58:56

标签: html css image

我希望我的文章像报纸文章一样包围我的形象。 CSS:

img {position:absolute;left:0;width:40%;}

谢谢!

1 个答案:

答案 0 :(得分:0)

不要使位置绝对而是向左或向右浮动img ...

func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)