HTML Code Wrap Help Needed

Discussion in 'HTML & Website Design' started by master-yoda, Mar 7, 2010.

  1. #1
    Can anyone help me out with this problem please, thank you.

    I know that this code <img src="yourphoto.gif" align="right"> can be used to wrap text around an image/photo but how do you wrap it around HTML code?

    On my website I have the HTML code for a third party sign-up newsletter box (see here bottom of page) that if possible I would like near the top of the page (right side) wrapped around my text that I have.

    I have tried adding the above code infront of the sign up box code but it does not work.
     
    master-yoda, Mar 7, 2010 IP
  2. jonmaster

    jonmaster Peon

    Messages:
    181
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can use the following code as reference, you could also use float property using stylesheet

    
    <div style="width:400px;"><img src="" alt="" width="100" height="80" align="right" style="background-color: #F0F0EA" />sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text 
    sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text sample text </div>
    
    HTML:
     
    jonmaster, Mar 7, 2010 IP