Monday, August 16, 2010

Setting Margin for the Rich TextBox like controls

Setting Margin for the Rich TextBox like controls


.P
{
  MARGIN: 0in 0in 0pt
 }


If the set the above  margin then the space between the line will be diplayed as normal in the Rich TextBox type of controls such as a div with attribute  contenteditable="true"  At this point the div is editable and if we press a enter key then there will be additional space that will be generated .To a void this situation we can use the above CSS class.

0 comments:

Post a Comment