Treehouse: Grow your CSS skills. Land your dream job.

floats and positioning issue…

  • # August 12, 2011 at 11:04 pm

    I have been struggling with this layout for hours and it’s finally coming together… all except for the search box and upper navigation.

    Here’s the site…

    I am trying to get it where the ‘Link One’ and ‘Link Two’ are aligned to the top of the window and right aligned with the gray background. The search box should be sitting on the gray background right-aligned with it. And the gray content border should be partially under the logo… up enough so that ‘Technologies’ is completely inside the gray area.

    Every combination of floats and position that I’ve tried results in content getting pushed down too far or the links/search box not aligning right.

    Can someone tell me what I’m doing wrong…??

    # August 13, 2011 at 12:30 am

    add clear: right; to #search and remove the top margin from #contentwrapper

    # August 13, 2011 at 9:56 am

    Wow… so simple… Thank-you so much!!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.