VWVortex


+ Reply to Thread
Results 1 to 5 of 5

Thread: HTML: ul li help needed..

  1. 07-29-2012 05:56 PM #1
    I am working on a CSS drop-down for a menu and having some basic HTML complications.

    So lets say I have this list:
    ------------------------------------

    -Male
    -John
    -18yrs
    -5'10"
    -Tim

    -Steve
    -21yrs
    -6'1"
    -Female
    -Molly
    -20yrs
    -5'3"
    -Kimberly

    -Mary
    -------------------------------------


    Code:
    div#dropMenu ul.level1
    succesfully gives me first level: Male, Female

    Code:
    div#dropMenu li:first-child ul.level2
    successfully gives me John, Tim, Steve

    Code:
    div#dropMenu li:last-child ul.level2
    successfully gives me Molly, Kimberly, Mary


    I need to pin point to 18yrs (under John) and pin point to 5'3" (under molly) using last-childs and first -childs.

  2. Member azunderg's Avatar
    Join Date
    Apr 29th, 2009
    Location
    85006 | Garfield District
    Posts
    1,182
    Vehicles
    MK5 GTI|Fixie|Light Rail
    08-06-2012 08:48 PM #2
    Quote Originally Posted by sle39lvr View Post
    I am working on a CSS drop-down for a menu and having some basic HTML complications.

    So lets say I have this list:
    ------------------------------------

    -Male
    -John
    -18yrs
    -5'10"
    -Tim

    -Steve
    -21yrs
    -6'1"
    -Female
    -Molly
    -20yrs
    -5'3"
    -Kimberly

    -Mary
    -------------------------------------


    Code:
    div#dropMenu ul.level1
    succesfully gives me first level: Male, Female

    Code:
    div#dropMenu li:first-child ul.level2
    successfully gives me John, Tim, Steve

    Code:
    div#dropMenu li:last-child ul.level2
    successfully gives me Molly, Kimberly, Mary


    I need to pin point to 18yrs (under John) and pin point to 5'3" (under molly) using last-childs and first -childs.
    Drop it like it's hot.

    Phoenix DMZ
    The Ghetto
    New South | Neuspeed | ECS | Optima

  3. 08-13-2012 10:40 PM #3
    Sorry, I have the whole menu finishes. It's those few things I mentioned in the OP I am missing. Hope someone could help me.

  4. 03-08-2013 02:20 AM #4
    Quote Originally Posted by sle39lvr View Post
    I am working on a CSS drop-down for a menu and having some basic HTML complications.

    So lets say I have this list:
    ------------------------------------

    -Male
    -John
    -18yrs
    -5'10"
    -Tim

    -Steve
    -21yrs
    -6'1"
    -Female
    -Molly
    -20yrs
    -5'3"
    -Kimberly

    -Mary
    -------------------------------------


    Code:
    div#dropMenu ul.level1
    succesfully gives me first level: Male, Female

    Code:
    div#dropMenu li:first-child ul.level2
    successfully gives me John, Tim, Steve

    Code:
    div#dropMenu li:last-child ul.level2
    successfully gives me Molly, Kimberly, Mary


    I need to pin point to 18yrs (under John) and pin point to 5'3" (under molly) using last-childs and first -childs.
    Check this HTML list sample http://www.corelangs.com/html/tags/lists.html hope it will help you.

    chris.

  5. Member Mr Miyagi's Avatar
    Join Date
    Aug 21st, 2010
    Location
    Spokane
    Posts
    3,445
    Vehicles
    '95 Grand Cherokee 5.2
    03-08-2013 03:00 AM #5
    taking a web page design class right now.




























    **** web page design.

+ Reply to Thread

Posting Permissions

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