/ Published in: XHTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> .submit { background: transparent; border-top: 0; border-right: 0; border-bottom: 1px solid #00F; border-left: 0; color: #00F; display: inline; margin: 0; padding: 0; } *:first-child+html .submit { /* hack needed for IE 7 */ border-bottom: 0; text-decoration: underline; } * html .submit { /* hack needed for IE 5/6 */ border-bottom: 0; text-decoration: underline; } </style> </head> <body> <input class="submit" type="submit" value="Submit Form"> </body> </html>