How to apply style to controls (urgent)
-
hi all I want to assign style to all my button controls without creating style class in style sheet. I mean that i dont want to assign any css class after creating my control. rather i want create tag such that when i create button control then that tag style will automatically assign to that control... So that i dont need to assign css class to all my control one by one. Please help me
Regards, DJ Rock
-
hi all I want to assign style to all my button controls without creating style class in style sheet. I mean that i dont want to assign any css class after creating my control. rather i want create tag such that when i create button control then that tag style will automatically assign to that control... So that i dont need to assign css class to all my control one by one. Please help me
Regards, DJ Rock
Hi, Your question is not clear, however acc. to how I understood you can go for usercontrols or custom controls
cheers, Akhilesh Yadav
-
Hi, Your question is not clear, however acc. to how I understood you can go for usercontrols or custom controls
cheers, Akhilesh Yadav
thanks for reply Ok first i want to make my question cleare. suppose i am creating button control ok?? and without creating any class i want to assign some style to my all button control that i am creating in my app. so want to create something like H1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2em; font-weight: 700; font-style: normal; text-decoration: none; word-spacing: normal; letter-spacing: normal; text-transform: none; } it will work for H1 tag. so i want to write code so that i can make it work for button and all asp controls. thanks again
Regards, DJ Rock