HTML tags and CSS properties supported
What HTML tags and CSS properties are supported in SuperToolTip?
Best regards
Roman
Thanks for contacting Syncfusion Support.
The text formatting tags of the HTML and CSS are supported in SuperToolTip. Please make use of the below code example.
Text formatting such as below cases are supported.
- Bold text
- Important text
- Italic text
- Emphasized text
- Marked text
- Small text
- Deleted text
- Inserted text
- Color
Code Example[HTML]:
|
Button1.Footer.Size = new System.Drawing.Size(200, 100); Button1.Footer.RenderHtml = true; Button1.Footer.Text = "<p>This text is normal.</p> " + "<p>My favorite <ins>color</ins> is red.</p>"; this.superToolTip1.SetToolTip(this.buttonAdv1, Button1); |
Code Example[CSS]
|
Button2.Footer.Size = new System.Drawing.Size(300, 200); Button2.Footer.RenderHtml = true; Button2.Footer.Text = "<!DOCTYPE html>" + "<html>" + "<head>" + "<style>" + "body { color: blue; }" + "h1 { color: green;}" + "</style>" + "</head>" + "<body>" +
"<h1>This is heading 1</h1>" + "<p>This is an ordinary paragraph. Notice that this text is blue. The default text color for a page is defined in the body selector.</p>" +
"</body>" + "</html>"; this.superToolTip1.SetToolTip(this.buttonAdv2, Button2); |
We have prepared a sample for your reference and it can be downloaded from the below location.
Sample : http://www.syncfusion.com/downloads/support/forum/122106/ze/HTMLAndCSS-15246166
Also refer to the following screenshot.
HTML :
CSS :
Regards,
Senthil
Best regards
Roman
Thank you for your update.
As we have mentioned on our previous update, the Text formatting tags of the HTML and CSS files are supported in SuperToolTip. We have notified this to our documentation team and it will be published at the earliest.
Regards,
Senthil
- 3 Replies
- 2 Participants
-
RS Roman Sallin
- Feb 17, 2016 03:34 PM UTC
- Feb 19, 2016 01:34 PM UTC