The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › @media screen help stuck
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 http://codepen.io/mwbcomputers/pen/HKfEm
You have an unclosed page-wrapper div in there.
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.
trying a new way will let you know how I go.
Thinking if this is how start doing css for media quires
you can enter http://cdpn.io/HKfEm into the screen check.
Slowly working out how to do media queries just demo stuff at moment