asp.net - How can I make all buttons on a page the same width via CSS? -


i have 30 buttons of different sizes , want set width of @ once through css. haven't been able work right.

[insert example of failed css code here]

but doesn't work. example, following button doesn't follow above rule:

[insert minimal, complete html example here illustrates issue]

you can create button class in css

.button {     width: ____px; } 

and in .aspx add cssclass="button" asp buttons (i assume they're asp.net controls?)


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -