WYSIWYG editor question

5 posts by 3 authors in: Forums > CMS Builder
Last Post: April 28, 2008   (RSS)

By _kate_ - April 28, 2008

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.

Re: [Dave] WYSIWYG editor question

By _kate_ - April 28, 2008

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 :(

Re: [AgentBristow] WYSIWYG editor question

By jsv - April 28, 2008

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

Re: [jsv] WYSIWYG editor question

By _kate_ - April 28, 2008

Smarty pants :P

Thanks! Worked like a charm :)