why I have a red border on email field in mozilla firefox?

  • Profile Image
    Laur3nt1u
    Asked on February 27, 2011 at 04:16 PM

    so Ive make a fosr Ițve download it put on my website and test it on each brrowser and on mozilla the email field has a red broder on what to do? 

  • Profile Image
    DanielGriffin
    Answered on February 28, 2011 at 09:42 AM

    hi Laurent1u,

    It looks like there is something very wrong with your form.  The list of countries is appreantly a definition list, but you don't have the parent <dl> tag around the entire list.. ie, you have each country inside a <dt> tag, but the <dt> list itself should be inside a <dl> tag.  Have a look at this link, it should make things clearer.

    http://www.w3schools.com/tags/tag_dt.asp

    I don't see the red border, but I imagine it's because the email field is directly after your (unclosed) definition list.  Try fixing the list and I suspect the email field will be fine too.  It's standard practice to just use a dropdown <select> list for the countries, so you might find that more suitable than the definition list.  You can easily add one in the form builder.  just select a Dropdown in the Form tools and then set it to a country list using the Special tab on the top menu.

    special

     

    Thanks,

    Daniel