Developer forum

Forum » Rapido » Spacing between div's / paragraphs

Spacing between div's / paragraphs

Gerard Kocks
Gerard Kocks
Reply

Hi,

In order to realize a longer time on site and more pageviews per session we use div's like in the attachement.
Unfortunately the spacing between these paragraphs is pretty big and we would like integrate them in the text more.
Can someone please tell me how to realize that?

Best regards
Gerard

div.png

Replies

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Gerard

If I understand you correctly, you use the Rich text editor on the paragraph to create the gray box? If so there may be a little trick. You could use ctrl+enter, on some machines, shift+enter to create a line break that is not that big.

Technically I think the difference is between using <p> and <br> in the markup.

If the spacing is due to using real paragraphs, you could try to use the paragraph container, with a single paragraph inside. The container has a setting to define spacing. In the next release there will be more options to configure/avoid paddings on paragraphs. 
 

Best regards
Karsten Thuen

 
Gerard Kocks
Gerard Kocks
Reply

Hi Karsten,

Thanks for your clear explanation. For now it helps, looking forward to next release.

BR. Gerard

 

You must be logged in to post in the forum