Latest News

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

  • New Sandmania Puzzle Game
    Jun 18, 2010

    Sandmania is the latest game from vectorlight, the aim of this game is to guide sand from the top of the screen to the various colored containers below.

  • New Moon Tower Defense Game
    May 29, 2010

    Added to the Games section is the new Moon Tower Defense game. Defend the Moon from the circling Aliens and Humans.

aureality
aureality
Borders on div, p, etc Posted: Mar 08, 2010
 

Hi Dan,


Thank you so much for the nice RichTextBox control. I was surprised how extended the HTML/CSS uspport is, even though HTML display  is not the main purpose for the control.

I’m only on the edge of finding out what it can and can’t do. For example I am unable to get borders on whatever HTML trag I try… Margins, colors, backgroundcolors, that all works.

But when I assign something as easy as the text below to the HTML property of a RichTextBox: no borders.


<p style='border-style:solid;

border-width:5px;border-color:#00ff00;'>hello</p>


Nor do I get borders when I import that text in the Import function of the online demo.

What am I missing?


Also, am I right that it is not possoble to set margins on a <table> tag? It doesn't break if I try, but it doesn't apply margins either.

Do you have documentation on what is supported with regards to tags, attributes and CSS styles?



Paul

 
 
dan
dan
RE: Borders on div, p, etc Posted: Mar 11, 2010
 

Hi Paul,


As you have found only a small amount of CSS is supported in the RichTextBox, there is a short list of what CSS is supported at:


http://www.vectorlight.net/controls/rich_textbox/importing_exporting_html.aspx


Thanks!