# Web2 \[WebIUControl\] how is the style property used?

**URL:** <https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042>\
**Category:** Web SDK\
**Created:** [October 17, 2020, 4:05pm UTC](https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042 "2020-10-17T16:05:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [October 17, 2020, 4:05pm UTC](https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042/1 "2020-10-17T16:05:38Z")

</div>

Each webuicontrol has a style property.  
is it my job to send each property inside the webstyle to the javascript and browser part  
or is it handled by the xojo web framework ?  
thanks.

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [October 17, 2020, 5:56pm UTC](https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042/2 "2020-10-17T17:56:23Z")

</div>

For the SDK you should be creating a css style sheet and returning the url to it in the appropriate event. We have included more details in the 2020r2 prerelease about this

---

<div class="post-metadata">

**Author:** ![Jean-Yves\_Pochez](https://forum.xojo.com/user_avatar/forum.xojo.com/jean-yves_pochez/32/21769_2.png) [@Jean-Yves\_Pochez](https://forum.xojo.com/u/Jean-Yves_Pochez)\
**Post date:** [October 17, 2020, 6:09pm UTC](https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042/3 "2020-10-17T18:09:30Z")

</div>

in the websdk documentation or examples ?

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [October 17, 2020, 6:16pm UTC](https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042/4 "2020-10-17T18:16:42Z")

</div>

Both

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [April 29, 2021, 4:46pm UTC](https://forum.xojo.com/t/web2-webiucontrol-how-is-the-style-property-used/58042/5 "2021-04-29T16:46:19Z")

</div>


