Click to See Complete Forum and Search --> : CSS Drop Down Navigation - Making the Drop Downs Align


ccrookston
02-22-2006, 09:40 AM
http://www.countrytrailsinn.com/contentDisplay_new.asp

I'm wondering if someone who is better at CSS then I am can tell me how to make these drop down boxes line up under the parent link. It works fine on Amenities, but Events and Local Attractions are off.

Thank you!!!

Casey

WebJoel
02-22-2006, 12:16 PM
That is one large document! :rolleyes:

For starters, you have a rather large <style>s declaration occuring AFTER the <body> tag opens. This will be ignored or at the least, not obeyed. You have to put all your STYLE declarations BEFORE you open the BODY.
Try this first and see where it leaves you but I imagine that there'll still be some alignment issues. I imagine that the 'alignment' attribs are in that STYLE, and because they are are being ignored/not obeyed, that is the problem... At any rate, it's a good place to start. :)

-Joel

ccrookston
02-22-2006, 12:58 PM
First, thank you so much for helping! Yes, it is a big doc, and for that I appoligize. The page is being generated dynamilcally and it's got a ton of stuff in it. If it helps, all we need to look at is the HTML for the navigation and the CSS for it.

I've moved all the css into the <style> tag inside the <head>. What's next?

Thanks again,

Casey

ccrookston
02-23-2006, 10:40 AM
Anyone? Please!!!!