Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
WYSIWYG editor question

 

 


_kate_
User


Apr 28, 2008, 9:20 AM

Post #1 of 5 (233 views)
Shortcut
WYSIWYG editor question Can't Post

Is there anyway to stop the WYSIWYG editor from wrapping any text in a paragraph tag (<p></p>)?

I went to HTML view and deleted it, however it just reappears again.


Dave
Staff / Moderator


Apr 28, 2008, 9:36 AM

Post #2 of 5 (231 views)
Shortcut
Re: [AgentBristow] WYSIWYG editor question [In reply to] Can't Post

There are some options in the wysiwyg for that. Although they discourage using them (link).

What were you trying to achieve or how were the paragraph tags causing a problem?

Dave Edis - Senior Developer
interactivetools.com


_kate_
User


Apr 28, 2008, 9:40 AM

Post #3 of 5 (230 views)
Shortcut
Re: [Dave] WYSIWYG editor question [In reply to] Can't Post

I'm integrating it into an existing site design. There is a page which has a table with 3 columns, the left is a text description and the 2 other columns each have a picture sized 120px x 120px.

I used the WYSIWYG editor for the description part. On some sections the text fits exactly in the allotted 120px height, however when the <p> tag is added around it, it adds in extra space at the top and bottom of the text so now it's too big and the table row is enlarged, meaning the images (which are all sized at 120px high) are showing white space above and below :(


jsv
User

Apr 28, 2008, 9:44 AM

Post #4 of 5 (229 views)
Shortcut
Re: [AgentBristow] WYSIWYG editor question [In reply to] Can't Post

Try adding the following into the stylesheet for your website:

p {
margin-top: 0;
margin-bottom: 0;
}

This will eliminate the linebreaks because of the <p> tags (although you will still see these linebreaks in WYSIWYG).

Jan


_kate_
User


Apr 28, 2008, 9:49 AM

Post #5 of 5 (226 views)
Shortcut
Re: [jsv] WYSIWYG editor question [In reply to] Can't Post

Smarty pants :P

Thanks! Worked like a charm :)

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4