Closed modnaut closed 11 years ago
HTML allows you to set any HTML you want for a container. It should be used very sparingly, but in the event that we need to set straight HTML, this allows us to.
I have it as an attribute, so it would look like this:
<item xsi:type="Panel" html="<div class="danny">row 1 col 2 and 3</div>" colspan="2">
If you wanted to make it a child element it could probably look like this:
<item xsi:type="Panel" colspan="2">
<html>
<div class="danny">row 1 col 2 and 3</div>
</html>
</item>
I think I can make that work, so if you prefer that style let me know
I like the look of the child element, let's go with that style. Thanks.
Pushed
How does the 'html' attribute work? Should that be an element underneath (ie: similar to title ) or an attribute?