spacer

home / experts / dhtml / column24
Developer News
HP to Microsoft: Thanks for Nothing
iPhone Remains Left Out as Android Scores Flash
The Year of Living the OpenSocial
Logo

Accessing the User-Defined System Colors, Part I
IE4Win32


 buttonface
 buttonhighlight
 buttonshadow
The three button-forming colors are synonymous with threedface, threedhighlight and threedshadow, and so are determined by the 3D Objects setting.
Buttons are colored the same as other 3D objects, including the application window itself.
Unlike the application window, a button uses only three (not five) colors to achieve the "raised" look. A fourth color, black, is added on the right and bottom to enhance the look.
A blow-up of a button to illustrate the color use.
HTML form buttons will automatically use this values. Custom "fake" buttons are, of course, a very popular DHTML technique. In our examples, we will demonstrate the use of the button color values for creating custom buttn-like objects.

 buttontext
The text color of button elements is set by first selecting the 3D Objects option under Item:, then specifying a color under Font:
The result is obvious: all text and icons in buttons are displayed in the buttontext color.
HTML form buttons will automatically use this value. It is useful for authors only when creating "fake" buttons.

Next, color values for menu bars and drop-down menus.



Produced by Peter Belesis and

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Administering RBAC in PHP 5 CMS Framework · xref: Automatic Cross Referencing Script · Book Review: Content Rich
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Building Command Line Utilities with Python · fring Brings Mobility to Junction Networks' OnSIP · Another Big Win for Wi-Fi Positioning

All Rights Reserved. Legal Notices.
Created: Feb 23, 1999
Revised: Feb 23, 1999

URL: http://www.webreference.com/dhtml/column24/colsIEbutton.html