 |

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