Jump to content

Archived

This topic is now archived and is closed to further replies.

Brandstedt

<br> in textbox becomes <p>

Recommended Posts

Brandstedt

Hi!

I have just made a 3 column and put textbox inside like this:

 

Bergfeldts Frisörer<br>
Larmgatan 42<br>
392 32 Kalmar<br>
0480-54565<br>
 
 
But when i publish its with <p>
 
 
I have the lates version of the DMS
 
 
 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

This isn't really an issue with the TextBox as far as I am aware, its down to the fact that Wordpress loves linebreaks.

To resolve your issue, use the following format.

 

Bergfeldts Frisörer<br>Larmgatan 42<br>392 32 Kalmar<br>0480-54565<br>

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

Cool and no problem.

Quick tip: If you ever encounter any random <p> tags in your markup, then its probably related to this problem, so move all your code onto one line and it should resolve your issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×