The definition for #nav in MenuMatic.css has text-align:right. #nav{ display:block; position: absolute; list-style:none; margin:0 0 0 -280px; width:186px; z-index:5; top:10px; /* this has to be the same as #content in style.css */ left:33%; /* this has to be the same as #content in style.css */ text-align: right; display:block; }
That's the problem, change it to text-align:center. Or if you don't have direct access to MenuMatic.css, add a definition to style.css with !important. ------------------ On 11/22/10 at 3:10 PM -0800, Matthew P. Johnson wrote in a message entitled "Re: [css-d] how can i place this menu in a div to be center": >On Fri, Nov 19, 2010 at 6:49 PM, Matthew P. Johnson <i...@ecoitsf.com>wrote: > >> Hello All, >> >> >> >> I am trying to figure out how to place this menu in a three and two >> column layout where the outer div is centered and the width is 1024px. >> The menu should go in the left most div and the middle (on the three >> column layout) or left (two column layout) will contain text and or >photos. >> >> >> >> I have been working on this the last couple weeks and have not been >> able to figure it out. >> >> >> >> Here is the link: >> >> >> > > http://www.applegateelements.com/!cssd/index.htm >> >> >> >> And if you would like to download the files in a zip format: >> >> >> >> http://www.applegateelements.com/!cssd/menumatic_howtocenter.zip >> >> >> >> Sincerely, >> >> >> >> Matthew P. Johnson | Eco I.T. >> >> 708 Bay Road Mill Valley CA 94941 | 415.254.1563 | >> <http://ecoitsf.com> ecoitsf.com >> >> P Please consider the environment before printing this email. >> > > > >By running the page and 2 CSS files through the W3C validator I've found a >> few errors. >> >Page: >> >> http://validator.w3.org/check?uri=http://www.applegateelements.com/!cs >> sd/index.htm >> >> >> style.css: >> >> http://jigsaw.w3.org/css-validator/validator?uri=http://applegateeleme >> nts.com/!cssd/css/style.css&profile=css21&usermedium=all&warning=1&lan >> g=en >> >> MenuMatic.css: >> >> http://jigsaw.w3.org/css-validator/validator?uri=applegateelements.com >> /!cssd/css/MenuMatic.css&profile=css21&usermedium=all&warning=1&lang=e >> n >> >> Fixing any errors here could resolve any problems you're having. >> > >Alex >------------------------------------------------- > > > > >I had a look at the W3C validator and the only issues are mundane. I am >still stuck on this if anyone can help. > >Sincerely, Matthew > >______________________________________________________________________ >css-discuss [cs...@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/ -- ___________________________________________________ RICK GORDON EMERALD VALLEY GRAPHICS AND CONSULTING ___________________________________________________ WWW: http://www.shelterpub.com ______________________________________________________________________ css-discuss [cs...@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/