Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    disastro passaggio da firefox a explorer (with mambo)

    salve bella gente
    ho appena (quasi) finito un portale con mambo...
    il mio template sarebbe il solartransport
    http://template.joomla.it/index.php?...=detail&id=254
    fino a ora ho lavorato e testato le mie modifiche su firefox...e andava tutto bene... bello e inquadrato in tutti i suoi moduli!!!
    solo che oggi ho voluto testare il risultato su explorer e.... :'( :'( :'( tragedia... è tutto sballato!...
    su tutti...il modulo menù invece di stare a sx stà a dx...con conseguenze catastrofiche sul risultato!!!
    che fare?...dove metto mano al css?!?
    il mio css modificato è quello in allegato... chi può aiutarmi?
    illuminatemi!... magari è colpa del fatto che ho aumentato la dimensione dell' #header ma in contemporanea ho aumentato la dimensione del #top_inner
    boh non capisco proprio!
    codice:
    /* CSS Document */
    
    
    .clr {
    	clear: both;
    }
    
    .outline {
      border: 1px solid #ff9933;
      background: #FFFFFF;
    	padding: 2px;
    }
    
    #pathway_outer {
    	width: 635px;
      float: left;
      margin-bottom: 2px;
    	margin-right: 2px;
    }
    
    #pathway_inner {
      float: none !important;
      float: left;
    	border: 1px solid #74A8F5;
    	height: 21px;
    }
    
    #pathway_text {
      overflow: hidden;
    	float: left;
    	display: block;
    	padding-top: 4px;
    	height: 18px;
    	padding-left: 5px;
    width: 300px;
    }
    
    a.pathway {
    }
    
    #buttons {
    	float: right;
    	margin: 0px;
    	padding: 0px;
    	width: 50%;
    }
    
    
    ul#mainlevel-nav
    {
    	list-style: none;
    	padding: 0;
    	margin: 0;
    	font-size: 0.8em;
    }
    
    ul#mainlevel-nav li
    {
    	display: block;
    	background-image: none;
    	padding-left: 0px;
    	padding-right: 0px;
    	float: right;
    	margin: 0;
    	width: auto !important;
      width: 15%;
    	font-size: 11px;
    	line-height: 21px;
    	white-space: nowrap;
    	border-left: 1px solid #74A8F5;
    }
    
    ul#mainlevel-nav li a
    {
    	width: 100%;
    	display: block;
    	padding-left: 15px;
    	padding-right: 15px;
    	text-decoration: none;
    	color: #1E3614;
    	background: transparent;
    }
    
    #buttons>ul#mainlevel-nav li a { width: auto; }
    
    	ul#mainlevel-nav li a:hover
    {
    	color: #7BBA72;
    	background: #1E3614;
    }
    
    
    #search_outer {
    	float: left;
    	width: 165px;
    }
    
    #search_inner {
      border: 1px solid #74A8F5;
    	padding: 0px;
      height: 21px !important;
      height: 23px;
      overflow: hidden;
    
    }
    
    #search_inner form {
      padding: 0;
      margin: 0;
    }
    
    #search_inner .inputbox {
    	border: 0px;
    	padding: 3px 3px 3px 5px;
    	font-family: trebuchet, tahoma, arial, helvetica, sans-serif;
    	font-size: 9px;
    	color:  #1E3614;
    }
    
    #header_outer {
    	text-align: left;
    	border: 0px;
    	margin: 0px;
    }
    
    #header {
    	float: left;
    	padding: 0px;
    	margin-right: 2px;
    	width: 635px;
    	height: 400px;
    	background: url(../images/header_short.jpg) no-repeat;
    }
    
    #top_outer{
    	float: left;
    	width: 165px;
    }
    #top_inner {
      border: 1px solid #74A8F5;
    	padding: 2px;
      height: 400px !important;
      height: 150px;
      overflow: hidden;
      float: none !important;
      float: left;
    }
    
    
    
    #left_outer {
      float: left;
    	margin-top: 2px;
    	width: 165px;
    }
    
    #left_inner {
      border: 1px solid #74A8F5;
    	padding: 2px;
      float: none !important;
      float: left;
    }
    
    #content_outer {
    	padding: 0px;
    	margin-top: 0px;
    	margin-left: 2px;
    	/** border: 1px solid #92C86A; **/
    	float: left;
    	width: 635px;
    }
    
    #content_inner{
      float: none !important;
      float: left;
      padding: 0;
      padding-top: 2px;
      margin: 0;
    
    }
    
    table.content_table {
      width: 100%;
    	padding: 0px;
    	margin: 0px;
    }
    
    table.content_table td {
    	padding: 0px;
    	margin: 0px;
    }
    
    
    #banner_inner {
    	float: left;
    	padding: 0px;
    	height: 70px;
    }
    
    #poweredby_inner {
    	float: right;
    	padding: 0px;
    	margin-left: 0px;
    	height: 70px;
    }
    
    #right_outer {
    	margin-left: 2px;
    	width: 165px;
    }
    
    #right_inner {
      float: none !important;
      float: left;
      border: 1px solid #92C86A;
      padding: 2px;
    }
    
    
    .user1_inner {
    	border: 1px solid #74A8F5;
      float: none !important;
      float: left;
    	margin: 0px;
    	padding: 2px;
    }
    
    .user2_inner {
    	border: 1px solid #74A8F5;
      float: none !important;
      float: left;
    	margin: 0px;
    	padding: 2px;
    }
    
    table td.body_outer {
    	padding: 2px;
    	border: 1px solid #74A8F5;
    }
    
    
    
    #active_menu {
    	color:#2F3A18;
    	font-weight: bold;
    }
    
    a#active_menu:hover {
    	color: #363D1B;
    }
    
    .maintitle {
    	color: #ffffff;
    	font-size: 40px;
    	padding-left: 15px;
    	padding-top: 20px;
    }
    
    .error {
      font-style: italic;
      text-transform: uppercase;
      padding: 5px;
      color: #74A8F5;
      font-size: 14px;
      font-weight: bold;
    }
    
    /** old stuff **/
    
    .back_button {
    	float: left;
      text-align: center;
      font-size: 11px;
      font-weight: bold;
      border: 3px double #ff9933;
      width: auto;
      background: url(../images/button_bg.png) repeat-x;
      padding: 0px 10px;
      line-height: 20px;
      margin: 1px;
    }
    
    .pagenav {
      text-align: center;
      font-size: 11px;
      font-weight: bold;
      border: 3px double #ff9933;
      width: auto;
      background: url(../images/button_bg.png) repeat-x;
      padding: 0px 10px;
      line-height: 20px;
      margin: 1px;
    }
    
    .pagenavbar {
    	margin-right: 10px;
    	float: right;
    }
    
    #footer {
    	text-align: center;
    	padding: 3px;
    }
    
    ul
    {
    margin: 0;
    padding: 0;
    list-style: none;
    }
    
    li
    {
    line-height: 15px;
    padding-left: 15px;
    padding-top: 0px;
    background-image: url(../images/arrow.png) ;
    background-repeat: no-repeat;
    background-position: 0px 3px;
    }
    
    
    td {
    	text-align: left;
    	font-size: 11px;
    }
    
    
    
    body {
    	margin: 15px;
    	height: 100%;
    	padding: 0px;
    	font-family: Trebuchet MS, Tahoma, Arial, Helvetica, Sans Serif;
    	font-size: 11px;
    	color: #1E3614;
    	background: #ffffff url(../images/bg.png) repeat;
    }
    
    /* mambo core stuff */
    a:link, a:visited {
    	color: #74A8F5; text-decoration: none;
    	font-weight: bold;
    }
    
    a:hover {
    	color: #86C32A;	text-decoration: underline;
    	font-weight: bold;
    }
    
    table.contentpaneopen {
      width: 100%;
    	padding: 0px;
    	border-collapse: collapse;
    	border-spacing: 0px;
    	margin: 0px;
    }
    
    table.contentpaneopen td {
       padding-right: 5px;
    }
    
    table.contentpaneopen td.componentheading {
    	padding-left: 4px;
    }
    
    
    
    table.contentpane {
      width: 100%;
    	padding: 0px;
    	border-collapse: collapse;
    	border-spacing: 0px;
    	margin: 0px;
    }
    
    table.contentpane td {
    	margin: 0px;
    	padding: 0px;
    }
    
    table.contentpane td.componentheading {
    	padding-left: 4px;
    }
    
    .button {
    	color: #1E3614;
    	font-family: Arial, Hevlvetica, sans-serif;
    	text-align: center;
    	font-size: 11px;
    	font-weight: bold;
    	border: 3px double #74A8F5;
    	width: auto;
    	background: url(../images/button_bg.png) repeat-x;
    	padding: 0px 5px;
    	line-height: 18px !important;
    	line-height: 16px;
    	height: 26px !important;
    	height: 24px;
    	margin: 1px;
    	cursor: hand;
    }
    
    .inputbox {
    	padding: 2px;
    	border:solid 1px #74A8F5;
    	background-color: #ffffff;
    }
    
    .componentheading {
    	background: url(../images/subhead_bg.png) repeat-x;
    	color: #666666;
    	text-align: left;
    	padding-top: 4px;
    	padding-left: 4px;
    	height: 21px;
    	font-weight: bold;
    	font-size: 10px;
    	text-transform: uppercase;
    
    }
    
    .contentcolumn {
    	padding-right: 5px;
    }
    
    .contentheading {
    	height: 30px;
    	background: url(../images/contenthead.png) top left repeat-x;
    	color: #3366cc;
    	text-indent: 15px;
    	font-weight: bold;
    	
            font-family:Arial, Helvetica, sans-serif;
    	
    font-size: 12px;
    }
    
    
    
    .contentpagetitle {
    	font-size: 13px;
    	font-weight: bold;
    	color: #74A8F5;
    	text-align:left;
    }
    
    table.searchinto {
    	width: 100%;
    }
    
    table.searchintro td {
    	font-weight: bold;
    }
    
    table.moduletable {
    	width: 100%;
    	margin-bottom: 5px;
    	padding: 0px;
    	border-spacing: 0px;
    	border-collapse: collapse;
    }
    
    table.moduletable th {
    	background: url(../images/subhead_bg.png) repeat-x;
    	color: #666666;
    	text-align: left;
    	padding-top: 4px;
    	padding-left: 4px;
    	height: 21px;
    	font-weight: bold;
    	font-size: 10px;
    	text-transform: uppercase;
    }
    
    table.moduletable td {
    	font-size: 11px;
    	padding: 0px;
    	margin: 0px;
    	font-weight: normal;
    }
    
    table.pollstableborder td {
      padding: 2px;
    }
    
    .sectiontableheader {
      font-weight: bold;
      background: #f0f0f0;
      padding: 4px;
    }
    
    .sectiontablefooter {
    
    }
    
    .sectiontableentry1 {
    	background-color : #ffffff;
    }
    
    .sectiontableentry2 {
    	background-color : #f9f9f9;
    }
    
    .small {
    	color: #999999;
    	font-size: 9px;
    	font-weight: bold;
    }
    
    .createdate {
    	height: 15px;
    	padding-bottom: 10px;
    	color: #999999;
    	font-size: 9px;
    	font-weight: bold;
    }
    
    .modifydate {
    	height: 15px;
    	padding-top: 10px;
    	color: #999999;
    	font-size: 9px;
    	font-weight: bold;
    }
    
    table.contenttoc {
      border: 1px solid #74A8F5;
      padding: 2px;
      margin-left: 2px;
      margin-bottom: 2px;
    
    }
    
    table.contenttoc td {
      padding: 2px;
    
    }
    
    table.contenttoc th {
      background: url(../images/subhead_bg.png) repeat-x;
      color: #666666;
    	text-align: left;
    	padding-top: 2px;
    	padding-left: 4px;
    	height: 21px;
    	font-weight: bold;
    	font-size: 10px;
    	text-transform: uppercase;
    }
    
    a.mainlevel:link, a.mainlevel:visited {
    	display: block;
    	background: url(../images/menu_bg.png) no-repeat;
    	vertical-align: middle;
    	font-size: 11px;
    	font-weight: bold;
    	color: #ffffff;
    	text-align: left;
    	padding-top: 5px;
    	padding-left: 18px;
    	height: 20px !important;
    	height: 25px;
    	width: 100%;
    	text-decoration: none;
    }
    
    a.mainlevel:hover {
    	background-position: 0px -25px;
    	text-decoration: none;
    	color: #1E3614;
    }
    
    a.sublevel:link, a.sublevel:visited {
    	padding-left: 1px;
    	vertical-align: middle;
    	font-size: 11px;
    	font-weight: bold;
    	color: #1E3614;
    	text-align: left;
    }
    
    a.sublevel:hover {
    	color: #C43C03;
    	text-decoration: none;
    }
    .highlight {
    	background-color: Yellow;
    	color: Blue;
    	padding: 0;
    }
    .code {
    	background-color: #ddd;
    	border: 1px solid #bbb;
    }
    
    form {
    /* removes space below form elements */
    	margin: 0;
     	padding: 0;
    }
    
    div.mosimage {
      border: 1px solid #92C86A;
    }
    
    .mosimage {
      border: 1px solid #92C86A;
      margin: 5px
    }
    
    .mosimage_caption {
      margin-top: 2px;
      background: #efefef;
      padding: 1px 2px;
      color: #666;
      text-transform: normal;
      font-size: 10px;
      border-top: 1px solid #92C86A;
    }

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Come e` ben noto, il box model di IE6 e` diverso da quello standard.
    La larghezza totale di un blocco (browser standard) e` data da:
    margin + border + padding + width + padding + border + margin
    In IE (quirks mode) invece e` data da:
    margin + width + margin (border e padding fanno parte di width)

    Il box model di IE diventa (quasi) uguale allo standard se usi la DTD XHTML Strict, per cui se passi a XHTML Strict risolvi molti problemi (non tutti, credo).
    In alternativa puoi non usare il padding (vedi tu se e` fattibile nel tuo contesto), oppure fornire tramite commenti condizionali delle "correzioni" agli stili solo per IE.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  3. #3
    smanettando sul css penso di aver "risolto" tutto... ma vorrei capire se è solo una risoluzione "temporanea" dettata dalla mia risoluzione (1pò anomala 1440x900)..o se è adattabile a tutte le soluzioni...(anche se non ho la possibilità di provare il template da nessuna parte xkè x ora è in locale nel mio notebook...)
    cmq il problema x ora (quasi) risolto..stava qui
    #header {
    float: left;
    padding: 0px;
    margin-right: 2px;
    width: 635px;
    height: 400px;
    background: url(../images/header_short.jpg) no-repeat;
    }
    }
    #top_inner {
    border: 1px solid #74A8F5;
    padding: 2px;
    height: 400px !important;
    height: 150px;
    overflow: hidden;
    float: none !important;
    float: left;
    }{


    la differente altezza dei due box in alto.. mentre firefox richiamava la prima riga evidentemente del top_inner quella con 400 px... explorer richiamava la seconda quella con 150px... così ho portato 150 a 400 e sembra andare tutto bene!
    visto che è un template già compilato...non ho voluto modificare + di tanto il codice.. anche se mi chiedo x cultura personale cosa voglia dire nella riga height quel !important

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    I dubbi riguardo la risoluzione, li testi facilmente cambiando le dimensioni della finestra ...

    !important e` riconosciuto dai browser standard, ma non da IE6 e precedenti, per cui FF (e altri) leggono la prima riga, IE6 legge la seconda, ma la interpreta come min-height, per cui di solito e` completato con un min-height: 150px (nel tuo caso) che definisce l'altezza minima negli altri browser.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

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