Header / Body / Footer - Page 7

User 122279 Photo


Senior Advisor
14,624 posts

UnclePlusMax wrote:
I found a site that had something I liked, I browsed through the tutorial and have something up at torchlight.coffeecup.com , i'm using the same code as judd's site, but it's putting my menu at the center of the page?? I don't have anything there.. I looked through the css but it's a lot to go through, it only did it after I added some text codes and header codes in the CSS.. :/


Not sure if I understand; Did you want the menu in the center? The buttons, I mean? If so, replace line 47 in your css file:
#cssmenu ul {position: relative; z-index: 597; }

with this:
#cssmenu ul {position: relative; z-index: 597; margin: auto; width: 500px; display: block; border: 1px solid white; }


The bit about the border is supposed to be taken out. I just left it there for you to see where the menu ul actually is, and how long it is.

'Center' in css is normally the horizontal 'center' of something. If you are talking about the vertical 'center', then refer to it as 'middle'.
What brings your menu down from a top position, is the header html and css you have added to the files. The height of your header is 200px, with the added 150px of the header_left.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2924428 Photo


Registered User
1,718 posts

Thank you Inger, I went with your suggestion though and did a CSS menu from CoffeeCup, but the website is now under siege and I fear the worst, but if you have a look at it i'm sure you would be able to spot where I went wrong.. torchlight.coffeecup.com
User 2924428 Photo


Registered User
1,718 posts

I'm going to make a new post for this, as the forum has filled up due to my lack of knowledge lol :) I'll name the new forum "Modification Site"

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.