0

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?

4

1 回答 1

0

您不能为 HTML 控件设置皮肤。请改用 ASP.NET 控件。

于 2013-06-06T05:45:22.893 回答