Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends

I have an aspx page with a HtmlEditorExtender.

When I inspect the generated HTML from the HtmlEditorExtender control I see the following:
XML
IE:
<P>test line 1</P><P>test line 2</P><P>test line 3</P>


Obviously, the

tags cause too much space between lines. I have tried adjusting with CSS but no luck.

Here is the CSS I have tried to no avail...

CSS
.ajax__html_editor_extender_texteditor {
border-width: 1px;
border-color: #C2C2C2;
border-style: solid;
padding: 2px 2px 2px 2px;
border-top: none;
}
.ajax__html_editor_extender_texteditor p
{
        line-height: 0px;
}


Any idea how to reduce space between lines in IE??

Thanks in advance

Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900