Last post Jan 27, 2014 10:28 PM by chetan.sarode
Participant
1731 Points
1146 Posts
Jan 27, 2014 06:50 AM|karang|LINK
Hi
I am customizing the ajax HTML editor by creating a new class and inherit the class with Editor. But the buttons which is added are stick to each other and there is no space between them. Is there any way to add a space between the buttons.
Regards
Karang
All-Star
37441 Points
9076 Posts
Jan 27, 2014 06:53 AM|AidyF|LINK
To force a space use the following html
1390 Points
323 Posts
Jan 27, 2014 07:39 AM|valuja|LINK
Hi,
You can use css to override the default style of the toolbar, for example you can add the following to your page where you are using the Editor:
<style> .ajax__htmleditor_toolbar_button { margin-right: 5px !important; } </style>
Best regards Johan
48393 Points
12161 Posts
Jan 27, 2014 10:28 PM|chetan.sarode|LINK
http://forums.asp.net/t/1962075.aspx?Make+space+between+buttons+in+html+editor
You can customise the buttons on the toolbar by subclassing the control and overriding the toolbar setup. This tutorial shows you how: http://www.asp.net/Learn/Ajax-Control-Toolkit/tutorial-50-cs.aspx
http://forums.asp.net/t/1431280.aspx/1
http://forums.asp.net/t/1713095.aspx/1?How+to+change+CSS+of+HtmlEditorExtender
Participant
1731 Points
1146 Posts
Adding space between buttons in ajax HTML editor
Jan 27, 2014 06:50 AM|karang|LINK
Hi
I am customizing the ajax HTML editor by creating a new class and inherit the class with Editor. But the buttons which is added are stick to each other and there is no space between them. Is there any way to add a space between the buttons.
Regards
Karang
Karan Gupta
http://gyansangrah.com
Please click "Mark as Answer" if this helped you.
All-Star
37441 Points
9076 Posts
Re: Adding space between buttons in ajax HTML editor
Jan 27, 2014 06:53 AM|AidyF|LINK
To force a space use the following html
Participant
1390 Points
323 Posts
Re: Adding space between buttons in ajax HTML editor
Jan 27, 2014 07:39 AM|valuja|LINK
Hi,
You can use css to override the default style of the toolbar, for example you can add the following to your page where you are using the Editor:
Best regards
Johan
All-Star
48393 Points
12161 Posts
Re: Adding space between buttons in ajax HTML editor
Jan 27, 2014 10:28 PM|chetan.sarode|LINK
http://forums.asp.net/t/1962075.aspx?Make+space+between+buttons+in+html+editor
You can customise the buttons on the toolbar by subclassing the control and overriding the toolbar setup. This tutorial shows you how: http://www.asp.net/Learn/Ajax-Control-Toolkit/tutorial-50-cs.aspx
http://forums.asp.net/t/1431280.aspx/1
http://forums.asp.net/t/1713095.aspx/1?How+to+change+CSS+of+HtmlEditorExtender
Team Lead, Product Development
Approva Systems Pvt Ltd, Pune, India.