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

set tooltip content alignment

1 Answer 386 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 17 Nov 2009, 04:57 PM
My tooltip text seems to be centered and I would like it to be left-justified. I'm not sure if this is the result of some other css styles on my page or if it default behavior. How do I explicitly set the content of the tooltip to be left-aligned? I am using the autotooltipify property with some <li> tags. I tried to set the text-align css property of the <li> tags, but this didn't seem to have any effect on the tooltip.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 20 Nov 2009, 09:19 AM
Hi Albert,

In order to get the desired result you can put the following style in the page's head:

.rtWrapperContent
{
   text-align: left !important;
}


Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ToolTip
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Svetlina Anati
Telerik team
Share this question
or