Web work in .Net .....
I was deliberating between using a skin and a CSS for a control. The problem was that I needed to modify the behavior of a control and skins are only used, supposedly, for display properties. On a lark, I defined the behavior I wanted in my CSS file:
And then in the .skin file I added to the skin definition:
To my surprise, this worked! The control, in this case a TextBox, inherited both the display attributes of the skin and the alignment behavior of the stylesheet.
Another tip for web newbies: Avoid the MS Sans Serif and Arial fonts. They only display well at 10pt and above size. Try Tahoma font, which looks great at 9pt and will save you about 15% or so of screen space.