Jump to content

Background Image on an Input.


sepoto

Recommended Posts

I have checked that the image specified does exist in that location and I am able to view it at that location in Mozilla FireFox. The image will not show up on my button. I am trying to determine the reason why this may be happening.

 .submit {   background-image: url('/img/bookiconsmall.png');   background-color: #FFF;   width: 50px;   height: 50px;   text-indent: -999em;   border: none;   }	  <form class="Bookme" action="/php/bookme.php" method="post"/> 		Name:<br>		<input type="text" width="200px" height="25px" name="name"/><br>		Email:<br>		<input type="text" width="200px" height="25px" name="email"/><br>		Message:<br>		<input type="text" width="200px" height="25px" name="message"/><br><br>		<input type="submit" class=".submit" />		</form>

Link to comment
Share on other sites

<input type="submit" class=".submit" />

there is your problemit needs to be

<input type="submit" class="submit" />

you use the "." only in the style sheet.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...