How to Add Image in Span and Align it in HTML


  • HTML Add Image in Span and Align it

    for further details and related topics http://www.codecorner.somee.com/
  • 2 Comments sorted by
  •  


     


    Add BackGround Image in Span Text but show in left side



      <span style="background: url('NEW.PNG') no-repeat; padding-left: 22px;display: block; " >arwqawrqwrqwrqrwq</span>


     


     

  • i think you should you use a div because span is normally used for short text .. use z-index property to put image back to the text

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative