Solved

Span instead of <p> TinyMCE

Posted on 2009-07-09
3
488 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

617 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