SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict hitmanuk2k's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, England
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Not going to the top

    I have some side content which I want to fly up to beside my main stuff. The screenshot shows how I want it to finish up, but I can't seem to get the right side to position beside the left.

    I have only added the feature image box for now in the code. But I figure once I can get that lining up properly I should be ok with the other bits.

    http://www.obsessedwithfilm.com/inde...ptheme=OWF+New
    Attached Images Attached Images
    Follow me on Twitter, or find me on LinkedIn. Latest project: loanpayday.org.uk.

  2. #2
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,115
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    Hello,

    The right column isn't floated - i'm not sure what you were expecting to see. It's in the normal flow and will appear just after the element before it - like any block level element.

    Code:
    #content {
    	padding: 20px;
            overflow: auto; /* clear children */
    }
    #news {
    	width: 488px;
            float: left;
            padding: 15px;
    	background-image: url('/file/contentbg.gif');
    	background-repeat: repeat-x;
    	background-position: top left;
    }

  3. #3
    SitePoint Addict hitmanuk2k's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, England
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man, I spent hours staring at that and missed something so simple.

    Thanks.
    Follow me on Twitter, or find me on LinkedIn. Latest project: loanpayday.org.uk.

  4. #4
    SitePoint Addict hitmanuk2k's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, England
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, it's still not right. I also added the float to the newshead but for some reason the side content is stopping at the level of my newshead div. The sizes all seem correct.
    Follow me on Twitter, or find me on LinkedIn. Latest project: loanpayday.org.uk.

  5. #5
    SitePoint Addict hitmanuk2k's Avatar
    Join Date
    Apr 2003
    Location
    Leeds, England
    Posts
    234
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Solved that problem... new problems

    In firefox the white background is disapearing on the singleposts. Click any headline at:

    http://www.obsessedwithfilm.com/inde...ptheme=OWF+New

    Also, the articles which have comments posted, the sidebar goes to the bottom for some reason... but without comments it's where it should be.
    Follow me on Twitter, or find me on LinkedIn. Latest project: loanpayday.org.uk.


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
  •