title: Can a user control come with its own CSS styles embedded in the user control?
body: <p>Can you put CSS style block (ie <code>&lt;style type="text/css"&gt;...&lt;/style&gt;</code>) on an ascx page, in order to style the user control? I tried it and it works. However I wonder if this is a common practice and the problem is the style block is inserted into the final HTML right where the user control is supposed to be. My understanding is style blocks should be between the <code>&lt;head&gt;&lt;/head&gt;</code> tags at the front. So it does seem to be out of place. BTW can javascripts be put any where on the HTML?</p>