Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2008
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Can't get this image in center and on its own row

    Hey,

    On my website here - http://www.lilwaynehq.com/discography/ I am trying to get that 'Rebirth' image to be in the center, so it fits up nicely above the row underneath.

    If I decrease the margin-left on it, then 'Tha Carter III' image underneath that comes up onto the line as the 'Rebirth' image and I do not want that.

    So does anyone know how I would do this?

    Thanks and appreciate it

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    How about:

    Code:
    div.discography1 {
    margin:0 auto;
    width:150px;
    }
    
    div.discography3 {
    margin-left:35px;
    clear:left;
    }

  • Users who have thanked SB65 for this post:

    Danaldinho (06-21-2009)

  • #3
    New Coder
    Join Date
    Feb 2008
    Posts
    95
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Thanks so much for the help mate, it worked, appreciate it


  •  

    Posting Permissions

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