The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › css buttons
I have recently found the CSS button maker at https://css-tricks.com/examples/ButtonMaker/ and really like it. I have made one or two amends so that it works on form submit buttons as well as anchor tags at:
It all works fine in Firefox, Chrome, Opera but in IE9 I get some white space at the bottom of the button when the CSS is attached to an anchor tag. The submit button is fine.
Any ideas how to solve this please?
Thanks G :)
Simply add display: inline-block in a separate selector like the below example and it will work in IE properly.
*display: inline; /* IE7 fix */
Cool. Many thanks Sarge. G :)