Open xehoth opened 7 years ago
https://blog.xehoth.cc/HTMLImageStyle/
HTML图片排版float使文字包围图片,只需要用style中的float即可。 1style="float:left;" margin只使用float会出现一个问题,文字会紧贴图片,所以我们可以用margin来调整间距。 1<img src="" style="float:left;margin-right:10px;margin-top:10px;margin-bottom:10px;"
https://blog.xehoth.cc/HTMLImageStyle/
HTML图片排版float使文字包围图片,只需要用style中的float即可。 1style="float:left;" margin只使用float会出现一个问题,文字会紧贴图片,所以我们可以用margin来调整间距。 1<img src="" style="float:left;margin-right:10px;margin-top:10px;margin-bottom:10px;"