Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
wiredface

Wexley: navigation split left. content centered.

Question

9 answers to this question

Recommended Posts

  • 1

@wiredface I did the following and got it to work:


#mainContent {
 max-width: 1250px;
 margin-left: auto;
 margin-right: auto;
}
#page {
   width: auto;
   margin: auto;
}




Share this post


Link to post
  • 0

this is exactly what I needed for my site; however, now my footer is floating center as well. How can this be modified so that the footer stays left?

Share this post


Link to post
  • 0

this is exactly what I needed for my site; however, now my footer is floating center as well. How can this be modified so that the footer stays left?

Share this post


Link to post
  • 0

I tried this, but it also left justified the header of the page, where i inserted my newsletter block, which is exactly what I want to be centered!

So I came up with this code:


.logo {
  position:float;
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;}

#topNav{position:absolute;float:left;clear:left; top:35px; bottom:35}

However, when I resize the page, the left side of the navigation moves overtop of the logo. Can anyone help me get that so that it will stay to the right of the logo when the page is resized?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...