- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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
http://cybercrab.com/screencheck/
you can enter http://cdpn.io/HKfEm into the screen check.
Slowly working out how to do media queries just demo stuff at moment