This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > January 2006 > Drop Down Menu Width size?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Drop Down Menu Width size?
Kevin Kashou

2006-01-30, 10:54 pm

Hello,

I am doing a drop down menu using JavaScript but css to style it. I am
having a difficult time matching the sub list to the main link and it looks
funky. Once you see it you will know what I am talking about. Can you please
take a look and see what is wrong?

URL: http://abkdesign.com/test.html

Thanks

John Gaver

2006-01-30, 10:54 pm

Without taking time to really get into what you are doing, I would suggest
that you create 2 div's. The first would be after the "Support" line and
before the <ul>, ending after the next </ul>. The second div would be after
the "History" line and before the <ul>, ending after the next </ul>.

Style them:

<div id="slidesupport">
<div id="slidehistory">

Then create CSS styles for those two id's, setting the width for each, as
necessary.

#slidesupport {
padding: 6px 5px 6px 5px;
width: 140px;
margin:0px;
}

I'm not really sure if that will help, but it seems like a good place to
start.

John Gaver
Action America
(forget everything to contact me direct)

Microsoft: (n) Job security for IT consultants.


On 1/26/06 1:42 AM, in article BFFDBD72.22F3D%19kash88@cox.net, "Kevin
Kashou" <19kash88@cox.net> wrote:

> Hello,
>
> I am doing a drop down menu using JavaScript but css to style it. I am
> having a difficult time matching the sub list to the main link and it looks
> funky. Once you see it you will know what I am talking about. Can you please
> take a look and see what is wrong?
>
> URL: http://abkdesign.com/test.html
>
> Thanks
>


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews