Question about inline aspx tags
<p>I have this div that's got a style attribute..In that I am setting it's background image by calling a function from code behind..</p>

<pre><code>&lt;div id="id1" style = "background-image: url(&lt;%=GetImage()%&gt;);"&gt;&lt;/div&gt;
</code></pre>

<p>now when I add runat="server" attribute in this div..it shows the Image path as method name itself and not <a href="http://localhost/myweb/images/image.jpg" rel="nofollow">http://localhost/myweb/images/image.jpg</a></p>

<p>when I remove runat..image path displays alright..Isn't the runat supposed to be there because it's got inline aspx tag ??? I am confused.</p>
