On Wed, Sep 19, 2012 at 5:07 PM, Matthew Willis <matt...@em-w.com> wrote:
> Hi CSS List, > > I am working on a site with a responsive layout via media queries and I'm > having some difficulties. I need it set up so when the width of the screen > is above 768px, a div containing logo appears as the first element, and > then a div containing the navigation menu as the next element. > > However, on any screen 768px wide or less, the menu should sit above the > logo. > - Matthew > Try absolute positioning the logo with a min-height to the top of the page. And absolute position the nav with a min-height to the bottom of the logo. In the 768 media query reverse the absolute positioning so that the nav is at the top of the page with the logo positioned beneath it. Best, David Laakso <aside> A link to a test page or the actual page in question always helps your cause. -- Chelsea Creek Studio http://ccstudi.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/