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

Button Alignment

2 Answers 136 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 14 Aug 2008, 08:20 PM
Hello,
I have used the Helpdesk example to help me get started with telerik. I have the example working fine for the most part in my sandbox DNN...But for some completely unknown reason...the toolbar buttons will only align to the middle??????????

I used the the same css:
div.RadToolBar  
{  
    float: none;  
    width: 100%;  
    clear: both;  
    display: block;  
}  
 
div.RadToolBar .rtbIcon  
{  
    margin-right: 5px;  
}  
 
div.RadToolBar .rtbTemplate,  
div.RadToolBar .rtbTemplate *  
{  
    vertical-align: middle;  

Any help would be greatly appreciated!

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 15 Aug 2008, 08:34 AM
Hi Jeff,

Most probably there is a text-align: center CSS style set on the page (e.g. to center its contents). Please add the following CSS:
div.RadToolBar  
    text-alignleft

If this is not the case, could you please send us a live url / sample project that we can inspect?

Sincerely yours,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jeff
Top achievements
Rank 1
answered on 15 Aug 2008, 08:37 PM
Yes, that was it...Thanks!
Tags
ToolBar
Asked by
Jeff
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Jeff
Top achievements
Rank 1
Share this question
or