Centering Horizontal Menus and Centering Main Content

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
anne

Centering Horizontal Menus and Centering Main Content

Post by anne »

I am using the Default CSSMenu Horizontal stylesheet and the CSS Horizontal 1 col menu.  2 Questions:

1.  How do I center the menu items underneath the blue header area?
2.  How do I center the entire content area in the browser page?

Here is my url:  http://www.ergonomicreview.com/index.php/home

Thanks, Anne
Muzzy

Re: Centering Horizontal Menus and Centering Main Content

Post by Muzzy »

Hi Anne.

Looking at your site with Firefox, the page is set up perfectly in the centre of the browser.

But... Your header image (the black A on blue) bleeds under your menu and appears below, obscuring the breadcrumbs and page title.
You might want to look at putting a greater depth to the header div to cater for the dimensions of the A graphic.

Regrds.
Mike.
anne

Re: Centering Horizontal Menus and Centering Main Content

Post by anne »

Thanks,  Mike, I have not been able to get my site up on Firefox lately  I think it goes thorugh some security cycle or something where it won't show up.  But I was able to use "View Site" and saw what you are talking about.


How can I get the same effect for IE?

Thanks,
Anne
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Centering Horizontal Menus and Centering Main Content

Post by Dr.CSS »

You could try taking the width out of the content which would make it as big as the container it's in, something is pushing your page wide in IE, then give the header a height of 180px.

I also noticed in your biography that the text wasn't formated, when you add verbage you might want to make sure the format drop down says normal.

If you reuse an existing page and rename it you want to go to the second tab 'Options' and clear the page alias, Services comes thru as templates and stylesheets
anne

Re: Centering Horizontal Menus and Centering Main Content

Post by anne »

Thanks!  Lots for me to think about.  :-\

Also, on my Anne as Artist page I will have a few things from the newspaper.  I would --- the one long one is there already, but I would like to have the 2 smaller ones plus some text on either side on top of the long newspaper article.  I briefly tried using tables -- is that the way to go?  Or is there a simpler way to get my smaller items and the text I will type to float to the top?

Anne
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Centering Horizontal Menus and Centering Main Content

Post by Dr.CSS »

When you add the images you can write some thing in the content box where the images go.
anne

Re: Centering Horizontal Menus and Centering Main Content

Post by anne »

:-\  I'm unclear, can you be more specific?

Thanks, Anne
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Centering Horizontal Menus and Centering Main Content

Post by Dr.CSS »

Link is broke?
Locked

Return to “Layout and Design (CSS & HTML)”