Click to See Complete Forum and Search --> : [RESOLVED] Dropdown menus with CSS


matt1776
07-07-2006, 05:50 PM
Is there a good way to make dropdown menus using only CSS that is cross browser compatible?

matt1776
07-07-2006, 06:53 PM
Ok please disregard the last post, ive found a simple tutorial and followed it. but now there is a problem with my layout. can anyone tell me why this messes with my center div?

http://www.nevertap.com/float/

ray326
07-07-2006, 10:38 PM
Notice also that the first list item is not visible. Makes me think a display:none is somehow bleeding over from the menu.

MySyZyGy
07-07-2006, 10:48 PM
I"m learning how to dot his myself, what tutorial did you use?
Sorry I can't help ya.
Jesse

MySyZyGy
07-07-2006, 10:50 PM
btw:nice site

matt1776
07-08-2006, 12:28 PM
thanks mysyzygy ... I got it from http://www.seoconsultants.com/css/menus/tutorial/

matt1776
07-08-2006, 12:40 PM
ray,

but all the list items are showing. I dont understand enough of whats going on to go over it in detail ... *sigh* i hate navigation, its the hardest part of a website to me. I would rather just have a plain text nav, but the 'customer' doesnt want the left side cluttered with links.

it could be so easy.

matt1776
07-08-2006, 06:31 PM
can someone please enlighten me as to how CSS is better than table layouts? this is a joke. go to this site with FF and then refresh your browser. the same code will be one way and then change magically before your eyes.

http://www.nevertap.com/float/

whats more, is that when i try to put text on the left hand column, the navigation bar breaks. This is so so so lame. Ive tried 3 variations of this code with 'fixes' that were supposed to help this.

tell me, if its so wonderful, then why all the workarounds? I understand about standards and all that, but wtf? i am so frustrated with this.

ray326
07-09-2006, 10:58 AM
Well it helps to start with good HTML and CSS.

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.nevertap.com%2Ffloat%2F
http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fwww.nevertap.com%2Ffloat%2F

Vladdy
07-09-2006, 11:20 AM
Also you should use Strict DTD (besides other reasons, IE would render the page closer to compliant browsers)

matt1776
07-09-2006, 07:58 PM
ray and vlad.

thank you for the suggestions, i have switched over to strict and i have made sure all my css and html is now valid.

I have decided to go without the dropdown menus, according to another source, this isnt correct CSS anyway, should only be used for presentation. . .