2009
10.29

When using the “Stop removing the <p> and <br /> tags when saving and show them in the HTML editor” switch with tinyMCE Advanced in WordPress you finally have newlines! The only problem is that they become huge and thereby really ugly. One way, I found, to overcome this problem is to style br.spacer_

To do this, you have to put:

br.spacer_ {
	line-height: 0;
}

in your theme’s css file. You can find this css file in wp-content/themes/####/

Note that after upgrading your theme you have to do this trick again…

1 comment so far

Add Your Comment
  1. me

    Thanks for this useful hint.
    (But unfortunately this doesnt work in my case, thanks anyway)