Solved

Span instead of <p> TinyMCE

Posted on 2009-07-09
3
476 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jQuery on Submit 4 46
xjs: how to get sum of value in for loop 2 19
Button function on table is in trouble 3 22
simple html dom php accessing table/cell  values 4 23
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

820 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