1 reply [Last post]
deej
Offline
newbie
Last seen: 10 years 42 weeks ago
Timezone: GMT+5.5
Joined: 2009-10-24
Posts: 1
Points: 2

Hello to everyone Smile
How do i display a dynamic navigation menu horizontally?

display:block;
float:left;
works for static menu but how to do it in dynamic menu.
I have a custom CMS which uses a php variable $display to show the menu links.

CSS
.menu a{ display:block;
float:left;}

but i guess this doesn't work so guys please help me out. Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 31 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

And why doesn't that

And why doesn't that work?

This isn't a scripting forum so we don't really want to know about php variables they have little meaning in a front end context.

You show no code to speak of, please read the forums posting guidelines then try and repost with a bit more information for us to work on if you want serious help.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me