The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help styling a hyperlink to look like a button Reply To: Help styling a hyperlink to look like a button


On my local webserver (not public facing) the background images render nicely for the button. Not too bad for the hyperlink either but far from looking like the buttons appear.

Regarding “why not use the button tag”? I am using a complicated ASP.NET web control – GridView – and for lots of reasons I can only get my delete processing to work with an ASP.NET “LinkButton” which the framework translates into a hyperlink with some generated stuff for postback.

In short, things work fine and the buttons look great for me but is there any way to make that hyperlink appear to look more like the buttons (i.e. they are in an adjacent column of the GridView rows and it would be so nice if I could make the link look like the button(s).