This is a discussion on "Horizontal menu help needed" within the Web Page Design section. This forum, and the thread "Horizontal menu help needed are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Horizontal menu help needed
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
Horizontal menu help needed
I created a CSS menu using the tutorial that is linked in the sticky thread at the top of this forum and I have got it working without Javascript
What I am wandering is, is there a way i can have the li class="submenu" evenly spaced. Some of my headings are longer than others so the spacing between look untidy I would like the spacing between headings to be evenly distributed
|
|
|
|
|||
|
Re: Horizontal menu help needed
I take it there is more to your navigation code that this. If not what's here is missing some code.
Not sure what you are getting at with the spacing. You should know by now to put the page somewhere where we can see what you see. Then we might have an idea what you are trying to tells us. |
|
|||
|
Re: Horizontal menu help needed
If i understatnd what you meani think you could
.submenu{ margin-left : ??px; margin-right : ??px;} otherwise you could set a fixed width? not sure excatlly what you wantin. let us know if that helps |
|
||||
|
Re: Horizontal menu help needed
http://www.jackgodfrey.org.uk/test/index.php
Here is the URL for the test page. you'll be able to see what i mean with the nav bar. None of the headings are symetrical. I have used the code that was given in the tutorial and it all looks perfect apart from the headings |
|
|||
|
Re: Horizontal menu help needed
It's this piece of css that's primarily determing the spacing of your menu items.
There are a number of other css problems and I think you will find that I didn't tell you to include the 'csshover.htc' file the way you have done. Don't name styling blocks, style1, style2, etc. Give them meaningful labels. You need to go back and read some more. |
|
|||
|
Re: Horizontal menu help needed
Yes. Just make sure you put it in the right place iin your code depeneding on whether your page is generated entirely from php or is basically an html page with some php code embedded. |
|
||||
|
Re: Horizontal menu help needed
I have my menu working perfectly ow but have one query
This is my menu
Last edited by AdRock; Oct 1st, 2006 at 21:44. |
|
||||
|
Re: Horizontal menu help needed
Add these:
|
|
||||
|
Re: Horizontal menu help needed
I forgot to mention... The menu looks horrid in Safari. The blue boxes that appear on the hover extend out past the boundaries of the <ul> the links are in. Also, the lines separating the links only go a little more than halfway across the box.
Consider using something other than specific widths for the top level list elements, too. They're all uneven and it looks rather tacky. |
![]() |
| Tags |
| horizontal, menu, help, needed |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed on horizontal css menu | dreamabstract | Web Page Design | 1 | Apr 24th, 2008 16:51 |
| CSS Horizontal Menu Bar - IE Problems!! | swillicott | Web Page Design | 47 | Jul 23rd, 2007 21:42 |
| CSS horizontal menu | trademarkd | Web Page Design | 1 | Jan 9th, 2007 07:10 |
| CSS Horizontal drop-down menu ??? | j4mes_bond25 | Web Page Design | 2 | Apr 6th, 2006 16:10 |
| horizontal drop-down menu | da_stimulator | JavaScript Forum | 2 | Nov 4th, 2004 11:16 |