asp.net - How to acces asp label controls from external stylesheets -


i trying style asp label controls external stylesheet.

to surprise, unlike img, input[type='text'], input[type='button'] etc works on asp image, textbox, button controls respectively,

the styles not being applied label controls..!

how asp label rendered html?

does know how refer label controls external style sheets, other manually specifying css class each of them or using inline styles...?

i presume mean asp.net not classic asp, right?

asp:label controls rendered differently depending on whether have associatedcontrolid set or not.

if associatedcontrolid set rendered label html element.

if associatedcontrolid not set rendered span html element.

it practice accessibility , other reasons include associatedcontrolid if label control relates input control.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -