spacer

home / experts / dhtml / column24
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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

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