Borders - can i have them just top and bottom and not side

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Nozzer
Beginner
Beginner
Posts: 5
Joined: Wed Oct 13, 2004 4:39 pm

Borders - can i have them just top and bottom and not side

Post by Nozzer »

hi,
started using this product instead of another which takes about twice as long to load - so I'm impressed so far. Is it possible to have menu borders that are just at the top and bottom of the menu (and not on the left and right)?
If not - any good workaround?
Any suggestions gratefully received!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Haven't tried this, but I would think the rawcss= property with a border-bottom... might do the trick.
John
Nozzer
Beginner
Beginner
Posts: 5
Joined: Wed Oct 13, 2004 4:39 pm

Post by Nozzer »

thanks for suggestion.
within my menu style, I tried using
rawcss='border-bottom: 5px solid #808080; border-top: 5px solid #808080';
but this placed a border on the border of each menu item. I was trying to place a border at the top and bottom of the menu as a whole.
Can you help?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

rawcss is also a menu item property. Try a border-top in your very first menu item, and a border-bottom in the very last.
John
Nozzer
Beginner
Beginner
Posts: 5
Joined: Wed Oct 13, 2004 4:39 pm

Borders - can i have them just top and bottom and not side

Post by Nozzer »

Hi
This works fine now thanks. However, I found that the padding I defined on the menu style appeared outside the border, so I had to switch off the padding for the menu style and define padding for each menu item.
Thanks for your help
Post Reply