Mobile app version of vmapp.org
Login or Join
Candy875

: How can i style a link and a submit button the same way I'm currently in css form hell on my website. I'd like to skin the submit button and the cancel link so they look the same. I

@Candy875

Posted in: #Css

I'm currently in css form hell on my website. I'd like to skin the submit button and the cancel link so they look the same.

I tried to use two buttons to make it easier but since their behavior is very different, it makes sense to use two different tags, and i get some nice "no surprises" side-effects.

So far, though, it has been a process fraught with disappointment and bitter failure; i tried to get both tags to play nicely one next to the other but all my css attempts are a waste of time. Either the link jumps up by a few pixels, or the submit button has its content slightly but noticeably lower, etc, etc...

Is there a way to skin both tags with the same appearance?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy875

1 Comments

Sorted by latest first Latest Oldest Best

 

@RJPawlick198

I would style the button following something like this tutorial (no JavaScript, no links instead of buttons, works in IE6 through IE8), and then style the link accordingly (which is usually pretty straightforward as opposed to styling buttons).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme