Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Validazione Mailchimp

  1. #1

    Validazione Mailchimp

    Dopo tanti sbattimenti e tantissime prove sono approdato ad un plugin per la newsletter che si chiama Mailchimp.

    Questo però presenta un problema che hanno tutti i plugin (): è respinto dal validator.

    [code]
    <style>

    .widget_mailchimpsf_widget .widget-title {
    line-height: 1.4em;
    margin-bottom: 0.75em;
    }
    #mc_subheader {
    line-height: 1.25em;
    margin-bottom: 18px;
    }
    .mc_merge_var {
    margin-bottom: 1.0em;
    }
    .mc_var_label,
    .mc_interest_label {
    display: block;
    margin-bottom: 0.5em;
    }
    .mc_input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    }
    .mc_input.mc_phone {
    width: auto;
    }
    select.mc_select {
    margin-top: 0.5em;
    width: 100%;
    }
    .mc_address_label {
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    display: block;
    }
    .mc_address_label ~ select {
    width: 100%;
    }
    .mc_list li {
    list-style: none;
    background: none !important;
    }
    .mc_interests_header {
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    }
    .mc_interest label,
    .mc_interest input {
    margin-bottom: 0.4em;
    }
    #mc_signup_submit {
    margin-top: 1.5em;
    width: 80%;
    }
    #mc_unsub_link a {
    font-size: 0.75em;
    }
    #mc_unsub_link {
    margin-top: 1.0em;
    }
    .mc_header_address,
    .mc_email_format {
    display: block;
    font-weight: bold;
    margin-top: 1.0em;
    margin-bottom: 0.5em;
    }
    .mc_email_options {
    margin-top: 0.5em;
    }
    .mc_email_type {
    padding-left: 4px;
    }

    </style>
    [code]

    In particolare, con riferimento a questa parte di codice dice:

    Element style not allowed as child of element aside in this context

    Gli altri errori li ho tolti tutti, questo non ci sono riuscito. Cosa dovrei fare secondo voi?

    P.s.: ma quanto serve il validator che tutte le volte il codice viene eseguito ma mi viene respinto da lui?

  2. #2
    Risolto.

    E' un problema con cui mi sono scontrato un numero discreto di volte ma che ho risolto per la prima volta senza aggirarlo e la cui soluzione ho cercato e che su internet non si trova da nessuna parte.

    Style non so perchè è respinto dal validator così come tutti gli attributi grafici tipo align o border.

    Per risolvere bisogna trasferire nel file di css giusto tutta la parte tra <style> e </stile>.

    Per quanti può interessare...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.