/    Sign up×
Community /Pin to ProfileBookmark

dropdown wont stay dropped

So my site is here
[URL=”http://www.shsu.edu/reslife/test”]http://www.shsu.edu/reslife/test[/URL]

In the third menu column I have a drop down menu using html/form . This is a cleaner and more friendlier drop down for this purpose. In FF it works great of course.. in Ie7 if you try to select anything in the drop down menu it disappears. I am pretty sure the :hover property on the links behind the menu are what is causing it but i am not sure how to fix it . Any ideas would be greatly appreciated.

Thanks

to post a comment
CSS

8 Comments(s)

Copy linkTweet thisAlerts:
@KDLAJan 29.2008 — You might take a look at these errors:

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.shsu.edu%2F~hou_www%2Ftest%2Ffacilities%2Felliott%2Felliott.html

Some of these have to do with unclosed tags, which could affect the functionality of your menu.
Copy linkTweet thisAlerts:
@grahamcssauthorJan 29.2008 — Yeah most of those are an error themselves and cant be avoided , thanks though
Copy linkTweet thisAlerts:
@Major_PayneJan 30.2008 — If you wrote the code, the errors can be avoided. If the code is pulled from somewhere else where you have no control over it, that's one thing, but you would be better off going through and correcting the code you can control as Ms. KDLA suggested and it just may fix your problem.

Your [B]CSS code[/B] needs fixing, too.

Using HTML Tidy, I found 58 code problems and not the [B]52 reported by validator[/B].

Since you are using this doc type (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">), I would think you would want to get the code done right. If not, drop back to strict or even transitional if you do not care to fix the code at all.

Ron
Copy linkTweet thisAlerts:
@grahamcssauthorJan 30.2008 — I appricate the help , but i have sat there before and try to please those validators and i have yet to be able to , nor has it ever helped me. As to any of the other stuff you said I guess its over my head cuase i am not sure what is meant by going back to strict or transitional. Thanks again
Copy linkTweet thisAlerts:
@DJRobThaManJan 30.2008 — have sat there before and try to please those validators and i have yet to be able to , nor has it ever helped me.[/quote]

You'd be surprised how many times you can't get something to work in various browsers, that fixing the validation errors either solve the problems or make them clearly obvious.

I guess its over my head cuase i am not sure what is meant by going back to strict or transitional.[/quote]

That's just a declaration at the beginning of your html file to let the browser know what type of code you're using (not quite the definition but I think it conveys the essence of what it is).

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> is the doctype you are currently using, which says you want to write your site in XHTML version 1 and the mode should be Strict (strict just means that your code should conform 100% to the XHTML standards. There are other modes that will give you a bit more leniency, eg transitional). I think by strict, Major Payne meant HTML strict. That's actually what I wrote my code in up until recently.

Anyway, not to sound like a broken record, valid code ensures that the browser is doing exactly what you're telling it to do. Otherwise it may just be trying to compensate for the invalid code by doing what it thinks you want it to do. So, I wholeheartedly agree with the rest of the responders here and say please, validate your code. Then if you still have problems, post them and somebody'll be able to help you.
Copy linkTweet thisAlerts:
@grahamcssauthorFeb 01.2008 — Ok i was able to get my front page down from 56 errors to 12 . The remaining twelve I haven't a clue on what they want from me. I still have my error. What would be great is if i had some way to make the drop down behave as though it had the desktop function of "always on top" . i know z-index is out because its not positioned that way however i wasn't sure if there was another way to do this.
Copy linkTweet thisAlerts:
@grahamcssauthorFeb 04.2008 — I guess i could just scratch the idea and find another type of drop down but i wish i could get this one fixed!
Copy linkTweet thisAlerts:
@Major_PayneFeb 05.2008 — Will see what I can do after I take care of my paying customers. No spare time right now.

Ron
×

Success!

Help @grahamcss spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...