SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict avstu's Avatar
    Join Date
    May 2005
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript Links

    Im using a javascript drop down menu on my website. I know a css drop down menu would probably be more practical but i really dont know a lot about css - i would need to be showed how to do it in a step to step tutorial.

    Anyway to my point, the javascript drop down menu.

    Here is the site: http://www.avillafan.com/site.html

    Now theres 2 things..

    Firstly
    How would i go about changing the drop down menu text from the blue to a white colour? Ive looked at the coding but i just simply cant see how to do it. Its probably something simple to someone on here with the expertise - thats why ive come here.

    Secondly
    How would i center the drop down menu so it drops down directly below the link ( ie, when you scroll over Avillafan, it drops down below it, and not to the side)



    Thanks for any help in advance

  2. #2
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To make the links appear in white, simply add a { color: white; } to your CSS (at the bottom).

    I can't find out where I can easily edit the offset of the dropdown menu, because frankly, the code's readability is terrible.

    I think you will benefit from investigating Suckerfish Dropdowns.
    Suckerfish provides a much cleaner and easier way of creating dropdown menus.

    I hope that helps.

  3. #3
    SitePoint Addict avstu's Avatar
    Join Date
    May 2005
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    everyone says use these dropdowns but like i say i learn from tutorials and non of them seem to have step tutorials..

  4. #4
    SitePoint Addict avstu's Avatar
    Join Date
    May 2005
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when i add the css to the bottom it doesnt make any difference what so ever!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •