Text over inline image


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. .image {
  2. position: relative;
  3. width: 100%; /* for IE 6 */
  4. }
  5.  
  6. h2 {
  7. position: absolute;
  8. top: 200px;
  9. left: 0;
  10. width: 100%;
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.