How to move the images to the right

Discussion in 'HTML & Website Design' started by chrisj, Nov 15, 2007.

  1. #1
    I have these images and text. Is there any code I can use to move these 7 lines over to the right a little? Thanks.

    
    <font face="Arial" color="#000000" size="3"><IMG src="/images/hphone.gif"> <a href="?action=login">&nbsp;&nbsp;Home</a><br><br>
    
    <IMG src="/images/hphone1.gif"><a href="?action=register">&nbsp;&nbsp;Register</a><br><br>
    
    <IMG src="/images/hphone2.gif"> <a href="?action=faq">&nbsp;&nbsp;FAQ</a><br><br>
    
    <IMG src="/images/hphone3.gif"> <a href="?
    action=terms">&nbsp;&nbsp;Terms Of Use</a><br><br>
    
    <IMG src="/images/hphone4.gif"> <a href="?action=contact">&nbsp;&nbsp;Contact Us</a><br><br>
    
    
    <IMG src="/images/hphone5.gif"><a href="?action=forgotpass">&nbsp;&nbsp;Forgot Password</a><br><br>
    
    <IMG src="/images/hphone6.gif"><a href="?action=forgotusername">&nbsp;&nbsp;Forgot Username</a><br></font>
    Code (markup):
     
    chrisj, Nov 15, 2007 IP
  2. tanujdude91

    tanujdude91 Notable Member

    Messages:
    1,579
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    220
    #2
    Just add <p align="right"> to move it to extreme right and <p align="center"> to move it to center.
    Also add </p> at the end .
     
    tanujdude91, Nov 15, 2007 IP
  3. chrisj

    chrisj Well-Known Member

    Messages:
    606
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    Thanks for the reply, but that's not exactly what I'm looking for.

    I'd like to move these lines over just a bit, and have them stay lined up vertically.

    The align="right" moves them all the way right, and align="center" centers everything but doesn't keep them lined up vertically.

    Any other suggestions? I need a margin or something.
     
    chrisj, Nov 15, 2007 IP
  4. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #4
    yup... a margin. Try wrapping them with a <div> with the margin style like so:
    <div style="margin-left: 20px;">
    
    <IMG src="/images/hphone1.gif"><a href="?action=register">&nbsp;&nbsp;Register</a><br><br>
    
    </div>
    Code (markup):
     
    scoopy82, Nov 15, 2007 IP
  5. rochow

    rochow Notable Member

    Messages:
    3,991
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    240
    #5
    I took a guess that this was a menu. Simply change the 10px from "ul.menu {margin:0 0 0 10px}" to however many pixels you want to bump it over ;)
     
    rochow, Nov 15, 2007 IP