WordPress trick - Adding empty lines

Apr 3rd, 2008 | By webmaster | Category: Design secrets, WordPress 2.5 fixes

Since I’m copying existing pages (in HTML) to WordPress, I’m running into a few layout issues.

One of the biggest challenges has been adding blank lines. Sometimes, I need them to place text next to photos ‘just so’.

However, simply leaving an extra blank line in the text… it didn’t work… not in Visual mode and not in HTML.

I tried using tables. The results were disappointing.

Then, I tried something quirky. I added this code (in the HTML tab) for every two lines that I wanted to leave blank:

<p> </p>

(Yes, that’s the code for a standard paragraph.  The only thing between the paragraph codes is the code for a blank space. )

That code works, even in WordPress 2.5 and even in Firefox browsers.

Leave Comment