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

@media screen help stuck

  • # July 20, 2013 at 7:21 am

    Hello I am a bit stuck.

    I am trying to learn how to center my logo and header content on media screen max – with 768

    I have set it up so website is max-width at 1024px;

    but just can seem to get background to go under h1 and h2 content and not centered.

    Here is the css/html data

    # July 20, 2013 at 7:37 am

    You have an unclosed page-wrapper div in there.

    # July 20, 2013 at 8:50 am

    but still wont make header background go under company name when tested in 700 with and logo will not center not sure what done wrong.

    Also my side bar should be on top of main content when in 700 width that also not working I have disabled floats in media screen.

    # July 20, 2013 at 9:47 am

    trying a new way will let you know how I go.

    # July 20, 2013 at 10:51 am

    Thinking if this is how start doing css for media quires

    you can enter into the screen check.

    Slowly working out how to do media queries just demo stuff at moment

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

You must be logged in to reply to this topic.