Please Note:
HierMenus is protected by copyright laws. Use of the HierMenus code requires a paid licensing agreement.
Click Here to Register

Site Navigation
Bulletins
About
Documentation
FAQ
Samples
Known Issues
Technology Jobs

internet.commerce

Partner With Us
Logo Design
Televisions
Web Hosting Directory
KVM Switch over IP
Computer Deals
Corporate Gifts
Imprinted Gifts
Domain registration
Prepaid Phone Card
KVM over IP
Promotional Golf
Promote Your Website
Server Racks
Promotional Items

          
internet.com

IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 
HierMenusCentral Enhance the Functionality of Your Web Site with DHTML HierMenus.
    

home / documentation / reference / borderstyle

BorderStyle

Description:
The CSS style of the menu's borders.

Value:
String, "", or JavaScript expression that returns a string/"".

Applies To:
Menus.

Browser Compatibility:
BorderStyle is not supported in Netscape 4. Not all browsers may recognize all possible CSS values.

Comments:
BorderStyle should be applied as a string, which means the value you supply should always be in quotes. Allowed values for BorderStyle are the same as those allowed in the standard CSS border-style property (see the W3C Specs) and in fact, the value you supply is transferred as is to the JavaScript borderStyle property for the menu.

border styles

Do not confuse borders with separators. In HierMenus jargon, borders surround each menu itself, while separators are the bars between individual menu items.

Not all styles render identically in all browsers. Test differing styles in multiple browsers to ensure the effect is what you want.

In HierMenus, the background color of the menu itself does not show through the menu border (for those styles that have open spots such as dotted or dashed). Instead, the background color that is showing behind the menu will show through these empty spaces.

We recommend that you do not use hidden to hide your borders. Instead, set BorderWidth to 0.

Examples:
// Ok:
BorderStyle:"solid",
BorderStyle:"dashed",
BorderStyle:"",         // use style sheet default
BorderStyle:(HM_IE)?"dotted":"solid",
      // dotted if IE, solid otherwise

// Incorrect:
BorderStyle:"curvy",    // must be valid CSS identifier
BorderStyle:double,     // quotes required
BorderStyle:'(HM_IE)?"dotted":"solid"', // no quoted expressions
Default:
"solid"

See Also:
SeparatorStyle



JupiterOnlineMedia

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

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/borderstyle.html