SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Positioning image beside gallery list

    Hello!

    I'm nearly completed with a website, but I'm running into a problem getting an image to position correctly beside a ul photo gallery list. I know it's something simple that I'm not thinking about, but I'm stumped.

    to view it, go to beckysterndesign dot com and click on the portfolio link.

    I need to move the iron man image and place it to the right of the gallery.

    Any help would be super appreciated!
    Becky Sue

  2. #2
    SitePoint Guru
    Join Date
    Nov 2005
    Location
    Norway
    Posts
    715
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just float it:
    Code:
    #content { overflow: hidden; /* to clear the floats */ }
    #gallery { float: left; }
    #feature { float: right; }

  3. #3
    SitePoint Zealot Nick Burd's Avatar
    Join Date
    Jul 2008
    Location
    My Couch
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would wrap 2 divs inside of a div, and float eachother

    <div id="page">
    <div id="left">
    CONTENT
    </div>
    <div id="right">
    CONTENT
    </div>
    </div>



    #left {
    float: left;
    clear: left;
    }
    #right {
    float: left;
    clear: right;
    }

    NickBurd.Com

    Check out my site, give me a shout
    and let me know what you think.


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
  •