Solved

Span instead of <p> TinyMCE

Posted on 2009-07-09
3
465 Views
Last Modified: 2013-11-11
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
Comment
Question by:AphX
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Chad Haney earned 500 total points
ID: 24817230
You could modify the p tag using css:

p{
padding:0px; /*or other px*/
margin:0px;/*or other px*/
}
0
 
LVL 2

Author Comment

by:AphX
ID: 24817426
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
 
LVL 2

Author Comment

by:AphX
ID: 24817464
Hehe, <br /> ftw ^^
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now