Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default Gah, image won't move to the left >.<

    Hey. I'm coding a layout for UniqueHabbo and I've ran into a little problem!


    Where you see the Hello Sir text on the orange image I need the image to be moved to the left a few pixels. I've tried margin-right: 5px; but it just won't budge to the left, but yet if I do margin-left: it'll move the image to the left? :S

    Heres the CSS for that particular image:
    HTML Code:
    #header {
    background-image: url(images/header.gif);
    width: 997px;
    height: 29px;
    margin-right: 5px;
    }
    Thanks.

  2. #2
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Lucas, you can us minus numbers in margins, so margin-left: -5px; pulls it towards the left.


  3. #3
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by L?KE View Post
    Lucas, you can us minus numbers in margins, so margin-left: -5px; pulls it towards the left.
    Thankyou lovely I knew you could use minuses but I've never used them before so I didn't think of it haha. +rep

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •