Results 1 to 4 of 4

Thread: image position

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default image position

    hi all -

    i placed an image to my site and i specified the top and left pixel but it's not doing it. i can't figure it out what i'm doing wrong. please help!

    my site is http://jrod.awardspace.com/product.html

    here's the code

    .products a{
    top:200px;
    left:50px;
    }

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there 93036web,

    try it like this...
    Code:
    
    .products a img {
        margin-top:200px;
        margin-left:50px;
    }
    coothead

  3. #3
    Join Date
    May 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You need to add the position property also to make it work, like this:

    a.products{
    position:absolute;
    top:200px;
    left:50px;
    }
    Last edited by skripter; 05-25-2007 at 03:32 PM. Reason: error in typing

  4. #4
    Join Date
    Jun 2007
    Location
    Sweden
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You might override other commands you specified in your stylesheet. Can you post the entire sheet you think?

    Good luck

Bookmarks

Posting Permissions

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