Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2008
    Messaggi
    1

    Problema css con browser diversi

    Ho un problema con il css del mio sito perchè in IE si vede tutto perfettamente, mentre con Firefox il bordo risulta più marcato e spesso. Che fare?





    td,tr,p,div
    { font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #333333; }
    /* Styles for dhtml tabbed-pages */
    ol {list-style-type: none;}
    ul {list-style-type: none; margin: 0px;padding: 0px; padding-top: 10px;}
    .ontab { background-color: #f0f0f0; text-align: center; cursor: hand; font-weight: normal; color: #333333; }
    .offtab { background-color : #cccccc; text-align: center; cursor: hand; font-weight: normal; color: #333333; }
    .tabpadding { }
    .tabheading { background-color: #333333; text-align: left; }
    .pagetext { visibility: hidden; display: none; position: relative; top: 0; }
    h4 { color: #39A6FF; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: bold; }
    h5 { color: #39A6FF; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; }
    h6 { color: #39A6FF; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
    /* Links */
    a:link,
    a:visited { font-size: 11px; color: #39A6FF; text-decoration: none; font-family: Arial, Helvetica, sans-serif; }
    a:hover { color: #000000; text-decoration: none; }
    /* Horizontal Line */
    hr { background: #39A6FF; height:1px; border: 2px inset; }
    hr.separator { background: #39A6FF; height: 1px; width: 75px; border: 0px; }
    img {border: none}
    /* --Default Class Settings-- */
    .mainlevel {

    font-family : Arial, Helvetica, serif;
    font-weight : normal;
    WIDTH: 147px;
    text-align : left;
    letter-spacing : 0 px;
    text-indent : 5px;
    padding : 5px;
    display : block;
    margin-top : 2px;


    }

    a.mainlevel:link, a.mainlevel:visited {
    border-top : 1px solid #6d6d6d;
    border-bottom : 1px solid #6d6d6d;
    background : #164571;
    color : #FFFFFF;
    }
    a.mainlevel:hover {
    border-top : 1px solid #FFFFFF;
    border-bottom : 1px solid #FFFFFF;
    text-align : center;
    background : #39A6FF;
    color : #FFFFFF;
    }

    a.mainmenu:link, a.mainmenu:visited
    { color: #39A6FF; font-weight: normal;
    } a.mainmenu:hover,
    { color: #000000; text-decoration: underline; }


    a.sublevel:hover
    { color: #000000; text-decoration: underline; }

    a.sublevel:link, a.sublevel:visited
    { color: #39A6FF; font-weight: normal; } /* For content item titles that are hyperlink
    instead of Read On */

    a.contentpagetitle:link, a.contentpagetitle:visited { font-size:
    13px; font-weight: bold; color: #164571; text-align:left; }

    a.contentpagetitle:hover
    { font-size: 13px; font-weight: bold; text-align:left; color: #61c42b; text-decoration:
    underline; font-weight: bold; } /* Content - Sections & Categories */

    .contentpane
    { background-color : #FFFFFF; }

    .contentpaneopen { border : 0px ridge #F0F0F0;
    }

    .contentheading { font-family: Arial, Helvetica, sans-serif; font-size: 14px;
    font-weight: normal; color: #164571; text-align:left; background-repeat: no-repeat;
    background-position: top left; text-indent: 30px; line-height: 25px; height: 15px;
    }

    .contentpagetitle { font-size: 13px; font-weight: bold; color: #164571; text-align:left;
    }

    table.contenttoc { color: #333300; background-color: #e0e0e0; } table.contenttoc
    td { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal;
    text-align:left; }

    .contentdescription { font-family: Arial, Helvetica, sans-serif;
    font-size: 11px; color: #164571; text-align: left; } /* Links */

    a.blogsection:link,
    a.blogsection:visited { color: #39A6FF; text-decoration: none; font-weight: normal;
    font-family: Arial, Helvetica, sans-serif; font-size: 10px; }

    a.blogsection:hover
    { color: #759328; text-decoration: underline; font-weight: normal; font-size:
    10px; }

    a.weblinks:link, a.weblinks:visited { color: #405115; text-decoration:
    none; font-weight: normal; font-family: Arial, Helvetica, sans-serif; }

    a.weblinks:hover
    { color: #759328; text-decoration: underline; }

    a.readon:link, a.readon:visited
    { color: #39A6FF; text-decoration: none; font-family: Arial, Helvetica, sans-serif;
    font-size: 10px; padding: 2px; list-style:; list-style-type:
    disc; white-space: normal; font-weight: normal; }

    a.readon:hover { color: #39A6FF; text-decoration: underline; font-weight: normal; font-family:
    Arial, Helvetica, sans-serif; font-size: 10px; padding: 2px; list-style: inside
    ; list-style-type: disc; display: list-item; white-space:
    normal; }
    table.moduletable { margin: 0px 0px 0px 0px; width: 95%; border-left:
    solid 0px #39A6FF; border-right: solid 0px #39A6FF; border-top: solid 0px #39A6FF;
    border-bottom: solid 0px #39A6FF; border-top-style: dashed; border-bottom-style:
    dashed; border-right-style: dashed; border-left-style: dashed; }
    table.moduletable
    th { font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight:
    bold; color: #39A6FF; text-align: left; width: 100%; background: transparent
    no-repeat left; text-indent: 15px; padding: 3px; height: 8px; border-bottom: 1px
    solid #39A6FF; border-bottom-style: dashed; line-height: 9px; }
    table.moduletable
    td { font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight:
    normal; }
    .componentheading { font-family: Arial, Helvetica, sans-serif; font-size:
    14px; font-weight: normal; color: #39A6FF; text-align:left; background-image:
    ; background-repeat: no-repeat; background-position: top
    left; text-indent: 30px; line-height: 25px; height: 15px; }
    .button { color: #000000;
    font-family: arial, Verdana, Geneva, Helvetica, serif; font-weight: bold; text-align:
    center; font-size: 10px; font: normal; background: White; border: 1px solid #39A6FF;
    height: 15px; }
    .inputbox { font-family: Arial, Helvetica, sans-serif; font-size:
    10px; font-weight: normal; color: #000000; background: #ffffff; border: 1px solid;
    }
    a.pathway:link, a.pathway:visited { color: #000000; text-decoration: none; font-weight:
    normal; font-size: 9px; }
    a.pathway:hover { color:#333333; text-decoration: underline;
    } /** category text format and links **/
    .category { color: #39A6FF; font-family:
    Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; text-decoration:
    none; }
    a.category:link, a.category:visited { color: #39A6FF; font-weight: bold;
    }
    a.category:hover { color: #39A6FF; }
    .poll { font-family: Arial, Helvetica,
    sans-serif; font-size: 10px; color: #666666; line-height: 14px }
    .sectiontableentry1, { }
    .contentpane { background-color : #FFFFFF; }
    .sectiontableentry2 { }
    .sectiontableheader
    { background-color : #FFFFFF; color : #39A6FF; font-weight : bold; }
    .small {
    font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #999999; text-decoration:
    none; font-weight: normal; }
    .smalldark { font-family: Arial, Helvetica, sans-serif;
    font-size: 10px; color: #333333; text-decoration: none; font-weight: normal; }

    .newsfeedheading { font-family: Arial, Helvetica, sans-serif; font-size: 12px;
    font-weight: bold; color: #333333; text-align:left; }

    .newsfeeddate { font-family:
    Arial, Helvetica, sans-serif; font-size: 10px; color: #A7CF43; font-weight: normal;
    }

    .createdate { font-family: Arial, Helvetica, sans-serif; font-size: 9px; color:
    #999999; text-decoration: none; font-weight: normal; }

    .modifydate { font-family:
    Arial, Helvetica, sans-serif; font-size: 9px; color: #999999; text-decoration:
    none; font-weight: normal; } ul { margin: 0px 0px 0px 0px; } li { list-style:
    3px; list-style-image: ;
    2px; } .fase4rdf { font-family: Arial, Helvetica, sans-serif; font-size: 11px;
    color: #242D0C; font-weight: normal; }

    a.fase4rdf:link { font-size: 11px; font-weight:
    normal; color: #405115; }

    a.fase4rdf:hover { font-weight: bold; color: #759328;
    } table.searchintro { background-color: #FFFFFF; border: 1px solid #759328; }

    table.contact { background-color: #ffffff; }

    table.contact td.icons { background-color:
    #ffffff; }

    table.contact td.details { background-color: #ffffff; font-size: 10px;
    }
    .pagenav { font-family: Arial, Helvetica, sans-serif; font-size: 9px; font-weight:
    normal; }

    a.pagenav, a.pagenav:visited { font-weight: bold; color: #759328; }

    a.pagenav:hover { color: #D6E5AA; }

    .pagenavbar { }
    /* Content voting */
    .content_rating
    { font-weight: normal; font-size: 8pt; }
    .content_vote { font-weight: normal;
    font-size: 8pt; } /* mamplates.com */
    a.bar:link, a.bar:visited { color: #39A6FF;
    text-decoration: none; font-weight: normal; font-family: Arial, Helvetica, sans-serif;
    font-size: 9px; font: normal; }
    a.bar:hover { color: #39A6FF; text-decoration:
    none; }
    .searchbox { font-family: Arial, Helvetica, sans-serif; font-size: 10px;
    font-weight: normal; color: #000000; background: #ffffff; border: 1px solid; height:
    15px; line-height: 15px; }
    .title { font: bold larger; letter-spacing: 4px; }
    /* for modifying {moscode} output. Don't set the colour! */
    .moscode { background-color: #f0f0f0; }
    /* Text passed with mosmsg url parameter */
    .message { font-family
    : Arial, Helvetica, sans-serif; font-weight: bold; font-size : 10pt; color : #39A6FF;
    text-align: center; }
    .pathway { font-family: Arial, Helvetica, sans-serif; font-size:
    9px; color: #000000; }

  2. #2
    Utente di HTML.it L'avatar di oronze
    Registrato dal
    Jun 2001
    Messaggi
    3,543
    a parte che non ha senso postare tutto il css...se tu hai messo border:solid 1px #000; e un browser te lo fa più grosso e uno un po' meno non puoi farci nulla...dipende dal browser...se quel bordo è una tabella potresti avere bisogno di usare la proprietà border-collapse: collapse;

    No ai layout tabellari!

    Insulto libero: http://forum.html.it/forum/showthread.php?s=&postid=12524872#post12524872

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 © 2025 vBulletin Solutions, Inc. All rights reserved.