Advertisement

05.10.2008 at 03:55AM PDT, ID: 23391463 | Points: 500
[x]
Attachment Details

How to center a horizontal CSS pulldown menu

Asked by bryanford in Cascading Style Sheets (CSS), Miscellaneous Web Development, Hypertext Markup Language (HTML)

Tags: ,

Hi all,

I'm new when it comes to CSS menu's. I copied some code I found online and it does exactly what I want it to do, except my website is centered and fixed at something like 766 pixels and I want to align the CSS menu either to the center, or stretch it to the full width of the table cell it is in.

Here is where I got the code from: http://www.javascriptkit.com/script/script2/csstopmenu.shtml

The code is pretty much exactly the same except I have changed the menu items.

I really need to get this sorted asap as its holding up the rest of the project.

Thanks for any help!!Start Free Trial
 
Keywords: How to center a horizontal CSS pulldo…
 
Loading Advertisement...
 
[+][-]05.10.2008 at 05:43AM PDT, ID: 21538804

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 06:13PM PDT, ID: 21541164

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 10:37AM PDT, ID: 21548943

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628