# Define style dinamically

**URL:** <https://forum.kirupa.com/t/define-style-dinamically/332677>\
**Category:** Uncategorized\
**Created:** [September 24, 2014, 2:25pm UTC](https://forum.kirupa.com/t/define-style-dinamically/332677 "2014-09-24T14:25:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbu12345](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@gbu12345](https://forum.kirupa.com/u/gbu12345)\
**Post date:** [September 24, 2014, 2:25pm UTC](https://forum.kirupa.com/t/define-style-dinamically/332677/1 "2014-09-24T14:25:47Z")

</div>

hello  
I would like to know if it is possible to define styles to apply to the tag of a html page with javascript before displaying it,  
in practice I would like to pop up to request color, size, etc., at first, then run the javascript code  
that prepares the style of the tag and the end view the page with the settings  
thanks
