Home Forums Newsletter Plugin Support Email Textbox's Type is Wrong

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9511
    Anonymous
    Inactive

    In the /wp-content/plugins/newsletter/widget.php file on line 38 it should say
    <input class="newsletter-email" type="text" instead of <input class="newsletter-email" type="email". There is no email type for input elements.

    #9514
    Stefano
    Keymaster

    Hi, the email type is correct, it’s the new HTML5 type. It works even on old browser since the input field defaults to text type when not specified or when unrecognized.

    #9516
    Anonymous
    Inactive

    When it was type=”email”, the textbox lost its style because it didn’t take

    #supplementary input[type="text"]{
    	background:url(../../images/field.png) no-repeat !important;
    	width:164px !important;
    	height:21px !important;
    	line-height:22px !important;
    	border:none !important;
    	font-size:10px !important;
    	color:#b8b8b8 !important; 
    	font-family:Arial, Helvetica, sans-serif; padding:0 5px !important;
    }

    from the theme’s included common.css file.

    #9520
    Stefano
    Keymaster

    Hi, because your theme does not care about the new HTML5 types. It should.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.