Why is my label disappearing when I set it to top align??

  • Profile Image
    loud068
    Asked on April 27, 2011 at 12:19 PM

    The label to one of my form elements keeps disappearing when I set it to top align, however reappears when I set it to left or right.

  • Profile Image
    NeilVicente
    Answered on April 27, 2011 at 02:02 PM

    Hi loud068,

    If I recall correctly, you were the person who asked for directions on how to keep two dropdowns close together, with a single label on their left (feet-inches thingy).

    The thing is, the workaround I gave to you earlier included a custom css code that hides all top-aligned labels. It was my fault, I guess, as I didn't warn you about it. Or I could have given you a more accurate, fool-proof solution.

    Please replace the custom css code you have injected with this one:

    #label_4 {
    display:none;
    }

    Now be aware that this new code hides only the label for that particular dropdown, which is the "inches" dropdown. Deleting and re-adding the same field would invalidate the codes I gave you.

    I went out of my way and edited the css codes myself. Please take a look at your form now.


    Neil