html - Remove dash between two button links -
i have created page 2 buttons (that links) on page. uknown reason, dash displays between buttons in chrome, ff, , ie. trying little bit of space between buttons instead of weird dash. here simple sample code replicate issue:
<!doctype html> <meta charset='utf-8'> <html> <head><title>button dashes?</title></head> <body> <div> <a href="http://www.google.com"> <button>google</button> </a> <a href="http://www.yahoo.com"> <button>yahoo</button> </a> </div> </body> </html> what need remove dash between buttons?
update code this:
<div> <a href="http://www.google.com"><button>google</button></a> <a href="http://www.yahoo.com"><button>yahoo</button></a> </div> default style links have underlines whitespace going underline. here example: http://jsfiddle.net/wcfbr/
here alternative ways make buttons act links: how create html button acts link?
Comments
Post a Comment