/* 
   This is part of an example to demonstrate how to overlay a button image with 
   any text value. It is an annotated version of the stylesheet indended for 
   example purposes. For a complete example, you also need buttonoverlay.html.
   
   Author: Dave Nicolette  http://www.davenicolette.net
   
   The author places this work in the public domain. 
   This work is offered without charge and without warranty of any kind.  
*/


/* use in conjunction with a button container/group class
   to position a set of buttons on the document */
   
.left {
    float:left;
}

.right {
    float: right;
}

/* container for a group of buttons */

.buttoncontainer { 
    background:transparent;    
}

/* specify the desired spacing between buttons */

.horizontalbuttonspacing { 
    margin-left:4px;
    margin-right:4px;
}

.verticalbuttonspacing { 
    margin-top:4px;
    margin-bottom:4px;
}

/* place button img tags in an element using this class */

.buttonimagecontainer {
    position:relative;
    z-index:1;
}

/* place button text in an element using this class */

.buttontext {
    position:relative;        /* don't change this */
    z-index:2;                /* don't change this */
    top:-43;                  /* adjust to align text vertically over the image */
    height:0;                 /* adjust to control the bottom edge of the hover area */
    font-family:Arial;        /* from here down, adjust per your design */
    left:40;
    color:#2F67B9;
    font-size:16px;
    font-weight:bold;
    text-align:center;
}
 
/* use these to ensure text on buttons doesn't inherit the attributes of normal anchor tags */
a.anchortext:link {
    text-decoration:none;
}
a.anchortext:visited {
    text-decoration:none;
}
a.anchortext:hover {
    text-decoration:none;
}
a.anchortext:active {
    text-decoration:none;
}
