Chapter 69. Applying Styles to Text Widgets


Text widgets accept CSS style rules, just as other HTML elements do. With CSS, you can change the default font of a menu, for example, or change the background color of a submit button. However, as with other HTML elements, different browsers don't always cooperate with the CSS styles you define for your text widgets, so be sure to preview your page in a variety of browsers.

FAQ

Can I use CSS styles with nontext widgets?

Yes, but don't get your hopes up. Nontext widgets such as checkboxes don't usually look the way you intend when you apply CSS styles to them.




Web Design Garage
Web Design Garage
ISBN: 0131481991
EAN: 2147483647
Year: 2006
Pages: 202
Authors: Marc Campbell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net