How to add aero effects to controls in a webpage?

3 answers


Styling form controls is a fools errand. Most of them are provided by the Operating system.

See: styling form controls with css revisited

Answered about 8 years ago by Tony Crockford
  • but it is possible, the worst element is the select box, and with a little JS even this can be done :) danwellman about 8 years ago
  • Just because it can be done, doesn't mean you should! ;) if you want to make your own web interface use Flash and confuse everyone... Tony Crockford about 8 years ago
  • But similarly, just because it's hard to do, doesn't mean you shouldn't try if you want to ;) danwellman about 8 years ago
  • True, but there are issues of Accessibility, user alienation, cross browser compatibility etc. I wouldn't want to do it for a commercial application unless the client had a decent budget! Tony Crockford about 8 years ago
  • Agreed, it's not for the faint-hearted, or faint-walletted, but if all of the boxes are ticked, there's no reason to rule it out entirely danwellman about 8 years ago
danwellman 5600

If by aero effects you mean transparency then this is easily possible with CSS3 in good browsers, and semi-transparent images in other browsers. IE6 has no native support for alpha-transparent PNGs, but using the excellent DD_BelatedPng library you can easily fix this.

Are you developing under .net?

Answered about 8 years ago by danwellman

If you are developing under .NET, we use Telerik to style our form controls. Telerik makes it pretty simple to style forms using themes, but it may muck up your html.

Answered about 8 years ago by Steve Hansell