Page 1 of 1

Menu Not staying in place

Posted: Thu Oct 21, 2010 5:45 am
by Niki
Hello, So I just installed the menu bar and its fantastic! It was a great fix after spending weeks trying to code a working drop down menu and failing. The only problem I found was that it moves left to fit the size screen of the user. I need it to stay in line with the body, so what code would I insert to keep the menu in one spot and not moving? Also where in the code would I put it? Since it works perfectly on my computer I can't really test anything else. Its only when I upload online and other people with different screen sizes let me know something is wrong.
http://www.thebrassgecko.com

Re: Menu Not staying in place

Posted: Thu Oct 21, 2010 10:07 am
by MikeyB
Hi Niki,

First off your HTML is not valid or structured correctly, see the results of the W3C Markup Validator http://goo.gl/MNkJ

A few quick fixes (doing a view-source of your page)
You are closing the body & html of the page at the top of the page, lines 15-17

Code: Select all

</ul>
</body>
</html>
Should be replaced with:

Code: Select all

<body>
That fixes most, then you have a few unmatched open/close html tags to sort out.
You also have two elements with the id of mainheader, id's should be unique.

As to fix the position of your menu, a quick easy way, change this like:

Code: Select all

<table id="cbinsmenuebul_table" width="0" cellpadding="0" cellspacing="0" border="0">
to:

Code: Select all

<table id="cbinsmenuebul_table" width="0" cellpadding="0" cellspacing="0" border="0" align="center">

Re: Menu Not staying in place

Posted: Fri Oct 22, 2010 11:15 pm
by wmtipton
Niki wrote:Hello, So I just installed the menu bar and its fantastic! It was a great fix after spending weeks trying to code a working drop down menu and failing. The only problem I found was that it moves left to fit the size screen of the user. I need it to stay in line with the body, so what code would I insert to keep the menu in one spot and not moving? Also where in the code would I put it? Since it works perfectly on my computer I can't really test anything else. Its only when I upload online and other people with different screen sizes let me know something is wrong.
http://www.thebrassgecko.com
all else aside....WOW that is one nice looking website as far as the design and colors !
:)