WYSIWYG editor question

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

Re: [AgentBristow] WYSIWYG editor question

By Dave - April 28, 2008

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

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