Problem with <a> tags in HTML + CSS styling -


when use <a> tag defaults linked text underline, naturally thought used font-style:normal; doesn't seem working me anymore, maybe it's version of firefox or firebug???

here's current source code, simplest test case:

<!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" />     <title>test dummy</title>   </head>   <body>         <a style="font-style:normal;" href="login_page/login.html">login</a>   </body> </html> 

unfortunately code not work either, login appears underlined.

edit: original author meant underline wrote italics

if mean underline, correct way take underline off be:

<a style="text-decoration: none;" href="login_page/login.html">login</a>


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -