Solved

Span instead of <p> TinyMCE

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
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…

752 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