Reply to Re: Tabbed navigation and CSS

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 12/28/05 19:28

kaibo wrote:

> hi all,
>
> newbie here...

...though far from anything most newbies would design. It is rather good.

> trying to create a nav bar for a user (using the 'sliding doors'
> technique). i think i've got most of it worked out, but i'd really
> like to center the whole bar on the page.
>
> example here:
>
> www.monkeymynd.com/testcr

Personally, I like it just as it is. Consider that just about every
application one would use that has a tabbed menu, has them
left-justified. By centering the whole bar, you're changing it from what
most visitors are used to seeing. And you don't have to worry about
playing with it in narrow browsers windows. And having it jump around
trying to center itself as people change the size of their window.

> the .css file has the line items in the nav bar as 'float:left', and
> changing this to 'center' obviously throws the nav bar off. so, i'm
> not sure how to just center the whole bar.

I spent a few minutes playing with your CSS, but didn't come up with
anything that did what you (shouldn't) want...

> also, any comment/suggestions are welcome.

Consider changing all your font sizes to percentages
body {font-size: 100%; }
so IE users with poor vision can resize - and drop the Verdana font.
http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

--
-bts
-Warning: I brake for lawn deer

[Back to original 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

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