Question

I'm going to apply my skin to a webpage and I wrote in the skin file:

<input class="th1">

and the stylesheet file is this:

.th1{
border:dashed #00ff21 1px;
}

and I got this error at runtime:

Literal content "<input class='th1'>" is not allowed within a 'skin file'.

what is wrong with that?

Was it helpful?

Solution

You cannot skin HTML-Controls. Use an ASP.NET control instead, please.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top