Align Toolbars

2 posts, 0 answers
  1. Highrad
    Highrad avatar
    8 posts
    Member since:
    Aug 2007

    Posted 26 Dec 2008 Link to this post


    I want to align all of the the toolbars on the editor towards the center. How can I do that?

    I have a call out for the background color change here:

    <script type="text/javascript">  
       function OnClientLoad(editor, args)  
          var style = editor.get_contentArea().style;  
          style.backgroundImage = "none";  
          style.backgroundColor = "white";  

    Or do I make the change in the toolsfile.xml?

    Thanks, Cam
  2. Tervel
    Tervel avatar
    1337 posts

    Posted 29 Dec 2008 Link to this post

    Hello Highrad,

    It is not possible to center the toobars using CSS (or script).
    It is essential for the proper rendering/positioning of the toolbars that they have a float:left setting - this is how they "fill" the available toolbar area in the most efficient manner and break to new lines automatically if the editor size is changed (enlarged or reduced).

    We are not able to provide a suggestion how toolbars can be centered without it messing up their look and feel.

    Best regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top