You are here: Re: CSS drop-down menu problems « HTML « IT news, forums, messages
Re: CSS drop-down menu problems

Posted by Jonathan N. Little on 03/06/07 18:33

hestres wrote:
> On Mar 6, 12:39 pm, "Jonathan N. Little" <lws4...@centralva.net>
> wrote:
>> hestres wrote:

>
> Thanks...that worked well for FF and Opera but not for IE6 or 7 though.
>

Well a couple of things I see
1) you have markup errors:

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.house.gov%2Fvelazquez%2Flh0205tres%2Fdropdown.html
Result for http://www.house.gov/velazquez/lh0205tres/dropdown.html - W3C
Markup Validator

2) you are overly complicating your markup with too many wrapper DIVs,
such as the navbar UL which is a block element in its own right is
within a DIV "nav" within a DIV "navigatation"! Also your search box is
within a DIV within a DIV "searchbox", but I do not see any associated
FORM for the form inputs?

3) you're mixing CSS and deprecated HTML presentation attributes such as
align="...", remove and style in your stylesheet, makes it much easier
to adjust and debug.

4) lastly since your have the search box and the nav list within the
same container and you are floating the nav list left, just put the
search box markup before the list.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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