Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. CSS pulldown menus with input

CSS pulldown menus with input

Scheduled Pinned Locked Moved Web Development
cssdesignhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jchalfant
    wrote on last edited by
    #1

    I'm having a small problem with input fields inside pulldown menus derived from cascading style-sheets. I'm using li and ul to generate lists and the style-sheets to hide and show the child ul whenever the :hover pseudo-class is met. For some odd reason or another, I decided to put input fields into these pulldowns. This gives me a bit of a problem. If the input field is selected, and the mouse is moved off of the li and ul with the :hover pseudo-class, the li and ul will disappear. This makes sense. I just can't figure out what I can do to make sure the field and parent ul remain visible when the control has focus, regardless of where the cursor is. I've tried the :focus and :active pseudo-class with no love. This only needs to work on IE7. Any advice would be much appreciated. If it's not possible, I can always just throw out the hidden field idea. They don't seem to intuitive as ui elements anyway.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups