This is a migrated thread and some comments may be shown as answers.

min-height on paragraph - IE9

2 Answers 91 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Greg Lynne
Top achievements
Rank 1
Greg Lynne asked on 19 Aug 2013, 11:00 PM
I am not sure if this is expected behavior, but I have set a min-height property for paragraphs in a custom style sheet. However when this is applied to the editor, every time a paragraph is clicked the "move" cursor appears and the whole paragraph is then selected making it difficult to enter text. This seems to only be happening in IE and not Firefox.

One of the reasons I am doing this as I don't want paragraphs creating margins, however I do want spaces between paragraphs if required.

margin:0cm;
margin-bottom:.0001pt;
min-height: 14px;

Please see attached screenshot when applied to your demo.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 21 Aug 2013, 02:01 PM
Hi Andrew,

The observed behavior depends entirely on the browser and is triggered by (min-)height styles. If you prefer not to have resize handles, please consider using margin or padding styles for paragraphs.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Greg Lynne
Top achievements
Rank 1
answered on 21 Aug 2013, 08:47 PM
Thanks for your response and I accept you answer. However in this case padding and margins are of no use because If there is text inside of the paragraph, I don't want them growing in height any more that the normal line height. I have created a workaround.

Thanks for you ongoing support.

Andrew
Tags
Editor
Asked by
Greg Lynne
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Greg Lynne
Top achievements
Rank 1
Share this question
or