Lines below image php

前端 未结 1 1834
一生所求
一生所求 2021-01-25 00:55

I\'m trying to display one line of excerpt from posts beneath the images at the bottom of this website: http://www.wha2wear.com/ This is the php function used to get the images

1条回答
  •  长情又很酷
    2021-01-25 00:59

    Your problem is that your display is dependent on the data. A blurb starting with
    or

    will wrap, otherwise not. Wrap them in divs to make them line up properly:

  • '; ?>

You could also just force a line break between the two:



'; echo ''; ?>

0 讨论(0)
提交回复
热议问题