We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

indianocean on 08/29/07


Tagged

css html align


Versions (?)


Adjust image buttons in forms


Published in: CSS 


adjust position of image using margins

  1. <FORM action=stuff.jsp method=post>
  2. <span style="position:absolute;margin-left:-15px;">
  3. <INPUT type=image src="pic.png">
  4. </span>
  5. some text
  6. </FORM>

Report this snippet 

You need to login to post a comment.