CSS Library: Links & Buttons: Here
CSS Square buttons
Author: Dynamic Drive
These buttons use the sliding doors technique of CSS, plus two sliced background images with "on" and "off" states, to create flexible glossy looking CSS buttons. Each button can accommodate text of variable widths and supports a hover effect when the mouse rolls over it. The only limitation is the height of the button, which is fixed based on the background image's height.
For your convenience, we've created 5 different colored square buttons to get you on your way!
Demo:
The images used: Choose the desired set to download (2 images total):
Gray squares (2 images):
Green squares (2 images):
Orange squares (2 images):
Blue squares (2 images):
Red squares (2images):
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 4 of 4 pages « First < 2 3 4
Oh, and it works in a form, as an input element.
It's just the background image, the rounded corners are created by using CSS borders.
[CODE]a.expandbuttons:hover{background-position: -18px 0}
a.expandbuttons:hover span{ background-position: 18px 0;
}[CODE]
Only work in this properties
[CODE]a.expandbuttons:hover{background-position: bottom left}
a.expandbuttons:hover span{ background-position: bottom right;
}[CODE]
I've got stacked... can anyone help?
my html is:
<div id="header">
<ul id="nav">
<li class="page_item"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
</ul>
</div>
What do I need to change? I have 3 links ul in my page.
Thanks!
I embedded in table, worked for me.
<div style="border:1px;width:380px">
<div style="text-align:center;width:190px;float:left;"><table align="center"><tr><td><span>CONTACT US</span></td></tr></table></div>
<div style="text-align:center;width:189px;float:right;border-left:1px dotted;"><table align="center"><tr><td><span>Submit</span></td></tr></table></div>
</div>
Thanks,
Vijay M.

