Link to home
Create AccountLog in
Avatar of Loganathan Natarajan
Loganathan NatarajanFlag for India

asked on

How do I remove the border line in chrome browser?

please see the attached code, in the chrome browser, there is border line coming, i like to remove that.. how can i do that? it is ok in FF, IE.
<!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=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
.tb5 {
	font-family:Arial;
	color:#666666;
	padding:3px 10px 0 10px;
	margin:0 0 0 0;
	background: #d5db85 url(images/rounded.gif) center 0 no-repeat;
	border:#d5db85 1px solid;
	height: 22px;
	width: 170px;
	font-size:12px;
}
</style>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  <label>
  <input type="text" name="textfield" class="tb5" />
  </label>
  <p>&nbsp;</p>
</form>
</body>
</html>

Open in new window

chrome-issue.JPG
actualform.JPG
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

The code you've posted above doesn't cause a problem in Chrome - no border!

Need to see more code - can we see the whole page. You're only getting the border on 1 of the text boxes so  seeing the whole code will help solve your problem.

ASKER CERTIFIED SOLUTION
Avatar of andrewkhan
andrewkhan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Loganathan Natarajan

ASKER

thank you so much