Salta al contenuto
  • CATEGORIES
  • La Community Connect.gt
  • Presentati alla Community
  • News Ufficiali da Connect.gt
  • Internet News
  • A Scuola Di
  • Digital Marketing
  • Intelligenza Artificiale
  • SEO & GEO
  • Web Marketing e Content
  • Google Analytics e Web Analytics
  • Google Ads & Advertising
  • YouTube
  • TikTok, Instagram e altri Social
  • Google Adsense, Affiliazioni e Guadagno
  • E-Commerce
  • Coding e Sistemistica
  • Help Center: consigli per il tuo progetto
  • Hosting e Cloud
  • Coding
  • CMS & Piattaforme Self-Hosted
  • Annunci e Collaborazioni
  • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
  • Collaborazioni WEB e Lavoro: offro e cerco
  • Impresa, Fisco e Leggi
  • Consulenza Legale e Professioni Web
  • Consulenza Fiscale, Imprese, Startup e P.Iva
  • Gli Off Topic
  • PC, Smartphone e altri Hardware
  • Tutti i Software
  • GT Fetish Cafè
  • Discussioni
  • 0 Non letti 0
  • Recenti
  • Hashtag
  • Popolare
  • Utenti
  • Privacy
  • Termini e condizioni
  • © 2026 Search On Media Group S.r.l.
Collassa
Connect.gt
Il network Search On
Connect.gt WMF AI Festival Accademia Advanced SEO Tool AgentCy Social Media Strategies Search Tech
Registrati Accedi
Connect.gt
Stream Interest Categorie Hashtag
  1. La community italiana di SEO, marketing digitale e AI
  2. Categorie
  3. Coding e Sistemistica
  4. Coding
  5. IE 6 problema css

IE 6 problema css

Pianificato Fissato Bloccato Spostato Coding
6 Post 2 Autori 1.2k Visualizzazioni 1 Seguito
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • G
    G
    guydebord
    scritto su ultima modifica di
    User Newbie 0
    #1
    IE 6 problema css

    Ho un problema di visualizzazione solo con IE6.( IE 7,Mozilla,Safari ok)
    La colonna di destra non s'affianca alla colonna principale ma slitta sotto.
    Si verifica con IE 6 soltanto.
    So che è bug riconosciuto in IE6 ho provato ad aggiungere pure display inline e overflow hidden come suggerivano alcuni ma persiste lo stesso problema.
    Qualcuno sa darmi una indicazione e un'aiuto.

    css-------------------------------------------------------------------------
    /* CSS Document /
    <style>
    /
    Clear fix */
    .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }
    .clearfix {display: inline-block;}

    • html .clearfix {height: 1%;}
      .clearfix {display: block;}

    #wrapper { background: #fff; width: 750px; margin: 200px auto 0 auto; padding: 10px 0;overflow:hidden;

    }
    #header { background: #fff; margin: 0 10px;display:inline }
    #main { margin: 10px 0; }
    #col1 {
    background: #fff;
    float:left;
    width: 480px;
    margin: 0 10px 0 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #4C4C4C;
    font-size: 0.8em;
    line-height: 2em;
    overflow:hidden;
    display:inline;
    }
    #col2 {
    float:left;
    width: 240px;
    margin: 0 10px 0 0;
    background-color: #FFFFFF;
    display: inline;

    }
    #footer {
    clear:both;
    background-image: url(footer.gif);
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 200px;
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: 0;
    margin-left: 10px;

    }
    body {
    background-color: #DFDBD3;
    background-image: url(background-isola-v2.png);
    background-repeat: no-repeat;
    background-position: center top;
    }

    #Titolo {
    background-image: url(nav_res.gif);
    background-repeat: no-repeat;
    background-position: left top;
    font-family: verdana, sans-serif;
    width: 250px;
    height: 20px;
    margin-top: 10px;
    }
    #TITOLO01 {
    background-image: url(nav_res_2.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    }
    #maratonarte {
    background-image: url(nav_res_8.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 15px;
    }
    #casavacanza {
    background-image: url(nav_res_11.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 15px;
    }
    #fotovacanza {
    background-image: url(nav_res_14.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 15px;
    }
    /Menu/

    .urbangreymenu{
    width: 190px;
    margin-top: 20px;
    }

    .urbangreymenu .headerbar{
    font: bold 13px Verdana;
    color: white;
    background: #606060 url(media/arrowstop.gif) no-repeat 8px 6px; /last 2 values are the x and y coordinates of bullet image/
    margin-bottom: 0; /bottom spacing between header and rest of content/
    text-transform: uppercase;
    padding: 7px 0 7px 31px; /31px is left indentation of header text/
    }

    .urbangreymenu ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 0; /bottom spacing between each UL and rest of content/
    }

    .urbangreymenu ul li{
    padding-bottom: 2px; /bottom spacing between menu items/
    }

    .urbangreymenu ul li a{
    font: normal 12px Arial;
    color: #000000;
    background: #E9E9E9;
    display: block;
    padding: 5px 0;
    line-height: 17px;
    padding-left: 8px; /link text is indented 8px/
    text-decoration: none;
    }

    .urbangreymenu ul li a:visited{
    color: black;
    }

    .urbangreymenu ul li a:hover{ /hover state CSS/
    color: white;
    background-color: #005B9A;
    }
    </style>
    #Titolo.01 {
    background-image: url(nav_res.gif);
    background-repeat: no-repeat;
    background-position: left top;
    font-family: verdana, sans-serif;
    width: 250px;
    height: 20px;
    margin-top: 10px;
    }
    #TITOLO02 {
    background-image: url(nav_res_3.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;

    }
    .titolotext {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    line-height: 2.0em;
    padding-top: 25px;
    border-bottom-width: 0.1em;
    border-bottom-style: dotted;
    }
    #TITOLO04 {
    background-image: url(nav_res_4.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    }
    #titolostoria {
    background-image: url(nav_res_5.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    }
    #titolocultura {
    background-image: url(nav_res_7.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 10px;
    margin-bottom: 10px;
    }
    #titoloarcheo {
    background-image: url(nav_res_6.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 10px;
    }
    #titoloambiente {
    background-image: url(nav_res_9.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 10px;
    }
    #titolocasa {
    background-image: url(nav_res_10.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 10px;
    }
    #prenota {
    background-image: url(nav_res_12.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 10px;
    }
    #arrivare {
    background-image: url(nav_res_13.gif);
    background-repeat: no-repeat;
    background-position: left top;
    height: 20px;
    width: 250px;
    margin-top: 15px;
    margin-bottom: 10px;
    }
    /risorse utili/

    #navlist
    {
    padding-left: 0;
    margin-left: 5;
    width: 200px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    }

    #navlist li
    {
    list-style: none;
    margin: 0;
    padding: 0.25em;
    border-top: 1px solid gray;
    background-image: url(document.gif);
    background-repeat: no-repeat;
    background-position:0.5em;
    text-indent: 30px;
    }

    #navlist li a {
    color: #000000;
    text-decoration: none;
    }
    #navlist li a:hover {
    background-color: #005B9A;
    color: #FFFFFF;
    }

    /menu ad lenco storia/
    #navlistoria
    {
    margin-left: 0;
    padding-left: 0;
    list-style-image: none;
    list-style-type: none;
    text-indent: 5px;
    }

    #navlistoria li
    {
    padding-left: 10px;
    background-repeat: no-repeat;
    background-position: 0 0.5em;
    background-image: url(icon.gif);
    margin-left: 20px;
    font-weight: normal;
    }

    #navlistoria ul {
    list-style: none;
    }
    /Drop shadow img/

    div.imgcontainer{
    float: left;
    background: url(dropshadow.jpg) no-repeat bottom right;
    margin-right: 10px;
    padding-top: 0;
    padding-right: 6px;
    padding-bottom: 6px;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 0px;
    }

    div.imgcontainer img{
    display:block;
    position: relative;
    top: -5px;
    left: -5px;
    padding:5px;
    background-image: url(Sant%27Antioco:%20Lungomare);
    }
    /form/
    .cssform p{
    width: 300px;
    clear: left;
    padding-left: 155px; /width of left column containing the label elements/
    border-top: 1px dashed gray;
    height: 5%;
    padding-top: 5px;
    padding-right: 0;
    padding-bottom: 8px;
    }

    .cssform label{
    font-weight: bold;
    float: left;
    margin-left: -155px; /width of left column/
    width: 150px; /width of labels. Should be smaller than left column (155px) to create some right margin/
    }

    .cssform input[type="text"]{ /width of text boxes. IE6 does not understand this attribute/
    width: 180px;
    }

    .cssform textarea{
    width: 250px;
    height: 150px;
    }

    /*.threepxfix class below:
    Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
    to account for 3 pixel bug:
    */

    • html .threepxfix{
      margin-left: 3px;
      }
      /css thumbnails gallery/
      ul#minipics{margin:0;padding:0;list-style-type:none}

    ul#minipics li{float: left;margin: 20px;padding: 0 6px 6px 0;
    background: url(dropshadow.jpg) no-repeat bottom right}

    ul#minipics li img{display: block;
    position: relative;top: -5px;left: -5px;
    border: 1px solid #ccc;border-color: #ccc #666 #666 #ccc;
    padding: 5px}
    #logo {
    margin-top: 100px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-repeat: no-repeat;
    background-position: right;
    float: right;
    }
    #contatore {
    margin-top: 430px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 30px;
    }

    grazie.

    1 Risposta Ultima Risposta
    Miglior risposta 0
    0
    • C
      C
      claudio.c
      scritto su ultima modifica di
      User Attivo 0
      #2

      Ciao,
      prova un margin-right:-3px solo per IE6;
      comunque prova a darci un indirizzo dove si possa vedere il codice in azione.

      1 Risposta Ultima Risposta
      Miglior risposta 0
      0
      • G
        G
        guydebord
        scritto su ultima modifica di
        User Newbie 0
        #3

        grazie per la risposta
        il sito è isoladisantantioco.it( non posso mettere il protocollo )
        ma dove dovrei settare un margin-right:-3px solo per IE6? in col1 o col2?

        1 Risposta Ultima Risposta
        Miglior risposta 0
        0
        • C
          C
          claudio.c
          scritto su ultima modifica di
          User Attivo 0
          #4

          Prova cosi:

          #col2{
          background-color:#fff;
          float:left;
          margin:0 10px 0 0 !important;
          margin:0 7px 0 0;
          width:240px;
          }
          
          1 Risposta Ultima Risposta
          Miglior risposta 0
          0
          • G
            G
            guydebord
            scritto su ultima modifica di
            User Newbie 0
            #5

            grazie claudio stasera provo.
            si tratta del double margin vero?

            1 Risposta Ultima Risposta
            Miglior risposta 0
            0
            • C
              C
              claudio.c
              scritto su ultima modifica di
              User Attivo 0
              #6

              guydebord

              grazie claudio stasera provo.
              si tratta del double margin vero?

              Probabilmente si.

              1 Risposta Ultima Risposta
              Miglior risposta 0
              0

              Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

              Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

              Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

              Registrati Accedi
              Rispondi
              • Risposta alla discussione
              Effettua l'accesso per rispondere
              • Da Vecchi a Nuovi
              • Da Nuovi a Vecchi
              • Più Voti


              • Accedi

              • Non hai un account? Registrati

              • Accedi o registrati per effettuare la ricerca.
              • Primo post
                Ultimo post
              Home Accedi Registrati
              Menu
              • CATEGORIES
              • La Community Connect.gt
              • Presentati alla Community
              • News Ufficiali da Connect.gt
              • Internet News
              • A Scuola Di
              • Digital Marketing
              • Intelligenza Artificiale
              • SEO & GEO
              • Web Marketing e Content
              • Google Analytics e Web Analytics
              • Google Ads & Advertising
              • YouTube
              • TikTok, Instagram e altri Social
              • Google Adsense, Affiliazioni e Guadagno
              • E-Commerce
              • Coding e Sistemistica
              • Help Center: consigli per il tuo progetto
              • Hosting e Cloud
              • Coding
              • CMS & Piattaforme Self-Hosted
              • Annunci e Collaborazioni
              • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
              • Collaborazioni WEB e Lavoro: offro e cerco
              • Impresa, Fisco e Leggi
              • Consulenza Legale e Professioni Web
              • Consulenza Fiscale, Imprese, Startup e P.Iva
              • Gli Off Topic
              • PC, Smartphone e altri Hardware
              • Tutti i Software
              • GT Fetish Cafè
              • Discussioni
              • Non letti 0
              • Recenti
              • Hashtag
              • Popolare
              • Utenti
              • Privacy
              • Termini e condizioni
              • © 2026 Search On Media Group S.r.l.