jamesdavid
06-03-2008, 11:53 AM
Im trying to apply css to html generated by php. I dont know much about php so im trying to achieve as much as I can with css.
You can see the menu style Im trying to achieve here;
http://www.jameschetwood.com/menu/menuiwant.jpg
At the moment the lists are generated like so;
When on home page;
MenuLevel1 MenuLevel1 MenuLevel1
When you click on the first of the top menu links its opens like so;
MenuLevel1, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel1, MenuLevel1,
How can I make my menu so the MenuLevel1 elements are on the top, and the MenuLevel2 elements open below?
What I want;
MenuLevel1, MenuLevel1, MenuLevel1,
MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2,
The php already gives different a class= to the different tiers.
thanks
james
You can see the menu style Im trying to achieve here;
http://www.jameschetwood.com/menu/menuiwant.jpg
At the moment the lists are generated like so;
When on home page;
MenuLevel1 MenuLevel1 MenuLevel1
When you click on the first of the top menu links its opens like so;
MenuLevel1, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel1, MenuLevel1,
How can I make my menu so the MenuLevel1 elements are on the top, and the MenuLevel2 elements open below?
What I want;
MenuLevel1, MenuLevel1, MenuLevel1,
MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2, MenuLevel2,
The php already gives different a class= to the different tiers.
thanks
james