Grow your CSS skills. Land your dream job.

CSS containers

  • # April 8, 2013 at 2:45 pm

    Hi, I am having problems trying to keep the contents of my header in its container. I have tried changing the header image and nav to display:block.

    My website is http://www.ncwebcreative.co.uk

    Would you guys have any suggestions?

    Thanks

    # April 8, 2013 at 2:49 pm

    `max-width: 100%` on the image and for the nav, use media queries to make font-size, padding and margin smaller.

    # April 8, 2013 at 3:02 pm

    The image fix seems to have worked great thanks. Still havent been able to fix the navigation though. Am I better creating the media queries just at the end of my style sheet or create a separate style sheet for this? It seems to override the styles for all screen sizes if I add to the end of my style sheet

    Thanks again

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".