We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27889
    • 415 Posts
    Hum the label for select is closed before select, <label></label><select></select>
    My goal it to have:

    Your Name: | |
    Your Email Address: | |
    Regarding: | |
    Message:
    ------------------------
    | |
    | |
    ------------------------
    I found it :
    form#EmailForm{position:relative;}
    div#contenu label[for|="to"] {display:inline;text-align:right;position:relative; left:18em;}
    div#contenu select{display:inline;position:absolute;right:7px;}
    three rules for the select element to display correctly.

    Finally I’m bored, I will hack the snippet (and I don’t like that) so css rule stay simple.
    I remove form’s name attribute and uncomment the fieldset to have strict xhtml page.
      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]