New Zenner
- Join Date:
- Mar 2005
- Posts:
- 40
- Plugin Contributions:
- 0
help with my css buttons
I modified the stylesheet_css_buttons.css file.
My website is https://www.palestream.com. The button on the right is the way I want it to look. Notice my search button, on the left, seems bunged up somehow. It has kind of an outline around it, and the two little boxes on the side aren't even with the center space. In Firefox it has become left-aligned instead of centered, although in IE it is still centered.
Any help appreciated. The code follows.
Thanks!
/* css buttons */
.cssButton, .cssButtonHover {
width : 20em;
display: block;
padding: 0.25em 0.5em 0.25em 0.5em;
background: #ffffcc;
text-decoration: none;
text-align:center;
border-left: 1em solid #54075b;
border-right: 1em solid #54075b;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 1.1em;
font-weight: bold;
/border-spacing: 1px;/
/margin-left: auto;
margin-right: auto;/
/display: block;/
/vertical-align: top;/
/line-height: 130%;/
/cursor: pointer;/
}
.cssButtonHover {
border-left: 1em solid #060;
border-right: 1em solid #060;
color: #004500;
background: white;
}
/* adding the styles below might be needed if the default button width is changed /
/ .button_continue_shopping, .button_shipping_estimator {width: 150px;} /
.small_delete, .button_prev, .button_next, .button_search {width: 7em;}
.button_sold_out_sm, .button_sold_out, .button_update_cart, .button_checkout, .button_login {width: 10em;}
.button_return_to_product_list, .button_add_selected {width: 22em;}
.button_in_cart{width: 19em;}
.button_submit {width: 18em;}
.button_update_cart {color: red;}
.button_update_cartHover {color: black;}
/.innerbox#headernavcenter .boxtext .button_search {display:inline;}*/