You are here: Re: Using CSS for best layout - experts help please « HTML « IT news, forums, messages
Re: Using CSS for best layout - experts help please

Posted by Ben C on 11/30/07 22:19

On 2007-11-30, Els <els.aNOSPAM@tiscali.nl> wrote:
> news.freedom2surf.net wrote:
[...]
>> I'm creating the above page, but what I'm trying to acheive is that top
>> right nav menu items (Contact Join us etc. ) are to the right most of the
>> screen they can be.
>
> You floated their container right, but set the text-align to
> "inherit". Apparently it's inheriting 'left'. Set it to 'right'
> instead.

And OP will also need to remove "float: left" and "display: block" from
..navMiniTopRight a-- at the moment those things are all left floats, so
they float to the left regardless of text-align.

He could set them to float: right, but then they'll end up in reversed
order. Text-align: right and not floated is better, I can't see any
reason why they need to be floats.

 

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

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