How to add linespace/space below image with css
-
Anyone help?
Currently using the following to add a fixed/permanent space below a left-align image which works on desktops/mobiles
<div>height:1px; clear:both</div>The problem is that it doesn’t work on the new AMP (accelerated mobile pages)
ie the line-space doesn’t work and the image becomes embedded which doesn’t look good.
Any suggestions on how to rectify this?Maybe adding a DIV class in css (don’t know how to do this)
- The topic ‘How to add linespace/space below image with css’ is closed to new replies.