You are here: Re: How to properly center this menu « HTML « IT news, forums, messages
Re: How to properly center this menu

Posted by Yogi_Bear_79 on 11/29/06 02:17

"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-CEC0CE.12441629112006@news-vip.optusnet.com.au...
> In article <xYqdnTHE-dkNf_HYnZ2dnUVZ_vWdnZ2d@comcast.com>,
> "Yogi_Bear_79" <nospam@spamsux.com> wrote:
>
>> http://314rcsspouses.homedns.org/hollywoodoil/index.shtml
>
> Still no go. Once it loaded as plain html and was struggling to
> get the rest, probably - now that Jonathan mentions it - the css
> sheet...
>
> Ah now it has loaded, phew, took it's time in Safari. In FF it
> simply times out (must have a setting set somewhere, a reasonable
> one!)
>
> What is the problem about centering, I have forgotten? The nav
> list?
>
> <ul style="width:11em;margin:auto;"> etc might do it. Tweak the
> em based on your longest text link. Move my example inline style
> to the navlist id.
>
> I am sure you don't need all those div wrappers here? But maybe
> you have your reasons. navcontainer and menu and ul?
>
> --
> dorayme

I tried <ul style="width:11em;margin:auto;"> like so:

#navcontainer ul
{
background-color:#006699;
color: White;
float: left;
font-family: arial, helvetica, sans-serif;
font-size: 0.7em;
width:11em;
margin:auto;
}

It turned it into a vertical list instead. BTW, I have been able to get rid
of at least one more set of div tags (thanks for the tip!)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация