Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

About label control



9:46 am on Jun 23, 2005 (gmt 0)

10+ Year Member

We are using label control in our application. The Html is produced at runtime through code under some conditions as text string and are added to lable control as text.

Since label control is converted to <span> at runtime, So when on runtime some <table> or <p> tags are added to label control, it produces errors on validation with w3c validator.

In this case we use literal control in place of label control and it worked fine.

The problem arrised in situation when css was used on label control. Since we cannot use css on literal control, so in that case label cannot be replaced with literal . Is there some other replacement available?

Purple Martin

6:23 am on Jun 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

You may have more luck getting an answer in a forum that is specific to whatever development application you are using.

Maybe here?


Featured Threads

Hot Threads This Week

Hot Threads This Month