This may not be possible but thought i would ask. Creating a Sharepoint webpart. In the ascx file i have a style tag. Is there any way that i could do the following:
<style type="text/css">
outerDiv
{
border: 1px solid Black;
height:<%# webPartHeight %>;
width:300px;
}
</style>
where the value for height is set via a data binding expression (code behind property). I tried it and when i inspected the style the height had no value set. Any help appreciated either way :)