niche Posted July 10, 2010 Share Posted July 10, 2010 I've created an unwanted effect that I think is being caused by onclick, but I'm not sure. Please see the page at: http://www.lincolnsrealdeals.com/showhide2.php.A line is displayed under the words "Just for You" when I click on them. I tried change the <h3> tag to a <div> and played around with the styling and haven't found the answer.How do I get rid of the line? Here's my script: <!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>Untitled Document</title><script language="javascript" src="show_layer.js"></script></head><body><?php include_once 'nav5.html'; ?><a style="position:absolute;left:0px;top:0px;width:1200px;" href="#" onclick="showlayer('myName')"><h3 style="position:absolute;left:540px;top:0px;width:1200px;">Just for You</h3></a><div style="position:absolute;left:0px;top:90px;" id="myName"><div ><?php include_once 'auc1.php'; ?></div></div></body></html> Link to comment Share on other sites More sharing options...
niche Posted July 10, 2010 Author Share Posted July 10, 2010 style="outline:none;" does the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.