Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 503
  • Last Modified:

Span instead of <p> TinyMCE

Hi Experts!

I use TinyMCE for <textarea>'s.

The only problem is that it´s creating <p> tags and there is too much margin between <p> lines.

How can I change that? Or change to <span> instead of <p>

Thanks!
0
AphX
Asked:
AphX
  • 2
1 Solution
 
Chad HaneyChief Technology OfficerCommented:
You could modify the p tag using css:

p{
padding:0px; /*or other px*/
margin:0px;/*or other px*/
}
0
 
AphXAuthor Commented:
Hmm, I actually tried that, didn't make much sense. A small difference.

Is there another way?

Or can I change it to <span> somehow?
0
 
AphXAuthor Commented:
Hehe, <br /> ftw ^^
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now