Back to top

Autore Topic: Problema in IE7  (Letto 1702 volte)

Offline Noise Comunica

  • Appassionato
  • ***
  • Post: 317
  • Sesso: Maschio
    • Mostra profilo
Problema in IE7
« il: 18 Gen 2011, 00:26:55 »
Cari amici,
dopo una settimana che risolvo un questione del genere mi ritrovo ad affrontarla...ma con un nuovo template. Ho un problema di visualizzazzione in ie7. Ho provato a seguire la guida di conti 1 ma non riesco ad individuare il problema nel css. Il template è    jp_bloq_j1.5 (joomlapraise).

Il problema come potete vedere dalle immagine è nei moduli user1 e user2. Le immagine delle aziende in ie7 non vengono ben allineate come in ie8.

Vi allego il css :

Codice: [Seleziona]
@charset "utf-8";
/*------ CSS Document Copyright © 2010 ------*/

/*------ Default HTML Styles ------*/
*{
margin:0;
padding:0;
}
html {
font-size:100%;
height:100%;
margin:0 0 1px 0;
}
body {
font-size:12px;
font-family:Helvetica, Arial, sans-serif;
line-height:1.5em;
}
body.arial {
font-family:Helvetica, Arial, sans-serif;
}
body.times {
font-family:"Times New Roman", Times, serif;
}
body.courier {
font-family:"Courier New", Courier, monospace;
}
body.georgia {
font-family:Georgia, "Times New Roman", Times, serif;
}
body.verdana {
font-family:Verdana, Arial, Helvetica, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
label,
ul,
ol,
dl,
fieldset,
address,
form,
.contentheading,
.componentheading,
.contentdescription {
margin:0.5em 0;
}
ul,
ol {
margin:0 0 0 2em;
}
fieldset {
border:none;
}
legend {
font-weight:bold;
}
table {
border-collapse:collapse;
}
img {
border:none;
}
a {
outline:none;
text-decoration:none;
font-weight:bold;
}
a:hover {
text-decoration:none;
}
.contentheading,
.componentheading,
.contentdescription,
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight:bold;
font-family: 'Yanone Kaffeesatz', arial, sans-serif;
}
h1,
.componentheading {
font-size:35px;
line-height:1em;
}
h2,
.contentheading {
font-size:30px;
line-height:1em;
}
h3{
font-size:20px;
}
h4,
.contentdescription  {
font-size:15px;
}
h5 {
font-size:12px;
}
h6 {
font-size:15px;
}
body.heading-tahoma h1,
body.heading-tahoma h2,
body.heading-tahoma h3,
body.heading-tahoma .componentheading,
body.heading-tahoma .contentheading{
font-family:Tahoma, Verdana, sans-serif;
}
body.heading-arial h1,
body.heading-arial h2,
body.heading-arial h3,
body.heading-arial .componentheading,
body.heading-arial .contentheading{
font-family:Helvetica, Arial, sans-serif;
}
body.heading-times h1,
body.heading-times h2,
body.heading-times h3,
body.heading-times .componentheading,
body.heading-times .contentheading {
font-family:"Times New Roman", Times, serif;
}
body.heading-courier h1,
body.heading-courier h2,
body.heading-courier h3,
body.heading-courier .componentheading,
body.heading-courier .contentheading{
font-family:"Courier New", Courier, monospace;
}
body.heading-georgia h1,
body.heading-georgia h2,
body.heading-georgia h3,
body.heading-georgia .componentheading,
body.heading-georgia .contentheading{
font-family:Georgia, "Times New Roman", Times, serif;
}
body.heading-yanone h1,
body.heading-yanone h2,
body.heading-yanone h3,
body.heading-yanone .componentheading,
body.heading-yanone .contentheading{
font-family: 'Yanone Kaffeesatz', Helvetica, Arial, sans-serif;
}
hr {
border:0;
}
pre,
code,
.source,
.code{
padding:20px;
}
/*------ Layout Styles ------*/
.inside {
padding:10px;
}
.clr {
clear:both;
}
.width,
#wrapper {
width:960px;
margin:0 auto;
}
.topmenu{
float:left;
font-size:12px;
}
#topmenu ul, #topmenu li{
margin:0;
padding:0;
list-style:none;
}
#topmenu li{
display:inline;
margin:0 15px 0 0;
}
#syndicate{
float:right;
}
#syndicate #modstalker img{
margin-left:5px;
}
#header{}
#logo{
display:block;
float:left;
width:350px;
height:100px;
text-indent:-9999px;
}
#logo h1{
margin:0;
}
#bannerad{
float:right;
}
#pathway{
font-size:12px;
}
#mainmenu .inside{
padding:0 10px;
}
#mainmenu ul,
#mainmenu ul li,
#mainmenu ul ul {
list-style: none;
margin: 0;
padding: 0;
}
#mainmenu ul {
position: relative;
z-index: 597;
float: left;
}
#mainmenu ul li {
float: left;
line-height: 1.3em;
vertical-align: middle;
zoom: 1;
}
#mainmenu ul li a {
padding:10px 15px;
display:block;
text-decoration:none;
font-size:16px;
}
#mainmenu ul li.hover,
#mainmenu ul li:hover,
#topmennu ul li.active a {
position: relative;
z-index: 599;
cursor: default;
}
#mainmenu ul ul {
visibility: hidden;
position: absolute;
top: 100%;
left: 0;
z-index: 598;
width: auto;
}
#mainmenu ul ul li {
float: none;
white-space:nowrap;
}
#mainmenu ul ul ul {
top: -1px;
left: 99%;
}
#mainmenu ul li:hover > ul {
visibility: visible;
}
#banner{}
.inset{
width:100%;
border-collapse:collapse;
}
.inset td{
width:25%;
text-align:left;
vertical-align:top;
}
.inset1{
padding:0 10px 0 0;
}
.inset2, .inset3{
padding:0 10px;
}
.inset4{
padding:0 0 0 10px;
}
.pos{
width:100%;
border-collapse:collapse;
}
.pos td{
width:33%;
text-align:left;
vertical-align:top;
}
.pos1{
padding:0 10px 0 0;
}
.pos2{
padding:0 10px;
}
.pos3{
padding:0 0 0 10px;
}
.elements{
width:100%;
border-collapse:collapse;
}
.elements td{
width:50%;
text-align:left;
vertical-align:top;
}
.elements1{
padding:0 10px 0 0;
}
.elements2{
padding:0 0 0 10px;
}
#container{}
#mainbody{
float:left;
width:700px;
}
#content{
float:left;
width:460px;
}
#sidebar{
float:right;
width:220px;
}
#sidebar2{
float:right;
width:220px;
}
/* Left Sidebars */
.sidebar-left #content{
float:right;
}
.sidebar-left #mainbody{
float:right;
}
.sidebar-left #sidebar2{
float:left;
}
.sidebar-left #sidebar{
float:left;
}
/* Right Sidebars */
.sidebar-right #content{
float:left;
}
.sidebar-right #mainbody{
float:left;
}
.sidebar-right #sidebar2{
float:right;
}
.sidebar-right #sidebar{
float:right;
}
/* Both Sidebars */
.sidebar-both #content{
float:right;
}
.sidebar-both #mainbody{
float:left;
}
.sidebar-both #sidebar2{
float:right;
}
.sidebar-both #sidebar{
float:left;
}
#search{
text-align:center;
}
#footer{
font-size:12px;
}
#copy{
float:left;
width:460px;
}
#link{
float:right;
width:460px;
text-align:right;
}
#link ul, #link li{
margin:0;
padding:0;
list-style:none;
}
#link li{
display:inline;
}
#link li a{
margin:0 0 0 15px;
}
/*------ Content Styles ------*/
.article_column{
padding:0 10px 0 0;
}
.column_separator{
padding:0 0 0 10px;
}
.article_separator{
display:block;
margin:0 0 20px 0;
}
.inputbox, .validate-email {
padding:6px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
#mod_search_searchword{
margin:0 10px;
}
.button,
button,
.validate,
input.button {
font-size:12px;
padding:6px 8px 5px 8px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
cursor:pointer;
font-family:Arial, Helvetica, sans-serif;
}
.readon,
.readmore{
display:block;
float:left;
padding:6px 8px 5px 8px;
margin:10px 0;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
text-decoration:none;
}
.buttonheading{
padding:0 2px;
}
.small,
.createdate,
.modifydate{
font-size:10px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
.modifydate{
padding:10px 0 0 0;
}
.blog{
margin:0 0 20px 0;
}
.blog_more{
margin:0 0 20px 0;
padding:20px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
.blog_more strong{
display:block;
font-family: 'Yanone Kaffeesatz', Helvetica, Arial, sans-serif;
font-size:30px;
margin:0 0 20px 0;
}
.pagination span,
.pagination a{
margin:0 5px;
padding:5px 8px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
.contenttoc{
width:35%;
float:right;
margin:0 0 20px 20px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
.contenttoc th{
text-align:left;
padding:10px;
font-family: 'Yanone Kaffeesatz', Helvetica, Arial, sans-serif;
font-size:30px;
}
.contenttoc a{
display:block;
padding:3px 10px;
}
/* Polls Component */
.pollstableborder th{
text-align:left;
font-family: 'Yanone Kaffeesatz', Helvetica, Arial, sans-serif;
font-size:30px;
padding:10px 5px;
}
.pollstableborder th img{
display:none;
}
.pollstableborder .sectiontableentry0,
.pollstableborder .sectiontableentry1,
.pollstableborder .sectiontableentry2{
font-weight:bold;
}
.smalldark{
width:50%;
font-weight:bold;
}
.polls_color_1,
.polls_color_2,
.polls_color_3,
.polls_color_4,
.polls_color_5{
border:0;
height:20px !important;
}
/* Section Table */
.contentpane{
margin:0 0 20px 0;
}
.contentpane ul,
.contentpane li{
margin:0;
padding:0;
list-style:none;
}
.contentpane li{
padding:10px 5px;
}
/* Categpry Table */
.contentpane table{
border-collapse:collapse;
}
.contentpane table td{
padding:5px;
}
.contentdescription{
padding:0 0 20px 0;
}
.sectiontableheader,
.sectiontableentry1 td,
.sectiontableentry2 td{
padding:5px;
text-align:left !important;
}
/* Weblinks Submission Form */
#adminForm table td{
padding:5px;
vertical-align:top;
text-align:left;
}
.key{
font-weight:bold;
}
/* My Account Page */
.form-validate table td{
padding:5px;
}
/* Search Component */
.searchintro{
width:100%;
margin:20px 0 10px 0;
}
.searchintro td{
padding:5px 10px;
}
.searchintro br{
display:none;
}
.searchintro b{
font-size:25px;
}
.highlight{
font-weight:bold;
pading:0 5px;
}
body.search .contentpaneopen td{
padding:5px;
}
body.search .contentpaneopen fieldset{
padding:0 0 20px 0;
margin:0 0 20px 0;
}
/* Bullet Styles */
ul.bullet1, ul.bullet2, ul.bullet3, ul.bullet4, ul.bullet5, ul.bullet6, ul.bullet7, ul.male, ul.female, ul.accept, ul.clock, ul.color, ul.cup, ul.date, ul.drink, ul.smile, ul.exclamation, ul.heart, ul.music, ul.rainbow, ul.golf, ul.tennis, ul.star, ul.tick{
padding-left: 10px;
margin-left: 0;
}
ul.bullet1 li, ul.bullet2 li, ul.bullet3 li, ul.bullet4 li, ul.bullet5 li, ul.bullet6 li, ul.bullet7 li, ul.male li, ul.female li, ul.accept li, ul.clock li, ul.color li, ul.cup li, ul.date li, ul.drink li, ul.smile li, ul.exclamation li, ul.heart li, ul.music li, ul.rainbow li, ul.golf li, ul.tennis li, ul.star li, ul.tick li{
list-style: none;
margin-left: 0;
padding:0 0 0 30px;
margin-bottom: 5px;
}
ul.bullet1 li {
background: url(../images/bullet1.png) 4px 4px no-repeat;
}
ul.bullet2 li {
background: url(../images/bullet2.png) 4px 4px no-repeat;
}
ul.bullet3 li {
background: url(../images/bullet3.png) 4px 4px no-repeat;
}
ul.bullet4 li {
background: url(../images/bullet4.png) 4px 4px no-repeat;
}
ul.bullet5 li {
background: url(../images/bullet_green.png) 4px 4px no-repeat;
}
ul.bullet6 li {
background: url(../images/bullet_pink.png) 4px 4px no-repeat;
}
ul.bullet7 li {
background: url(../images/bullet_red.png) 4px 4px no-repeat;
}
ul.male li {
background: url(../images/user_suit.png) 4px 4px no-repeat;
}
ul.female li {
background: url(../images/user_female.png) 4px 4px no-repeat;
}
ul.accept li {
background: url(../images/accept.png) 4px 4px no-repeat;
}
ul.clock li {
background: url(../images/clock.png) 4px 4px no-repeat;
}
ul.color li {
background: url(../images/color_swatch.png) 4px 4px no-repeat;
}
ul.cup li {
background: url(../images/cup.png) 4px 4px no-repeat;
}
ul.date li {
background: url(../images/date.png) 4px 4px no-repeat;
}
ul.drink li {
background: url(../images/drink.png) 4px 4px no-repeat;
}
ul.smile li {
background: url(../images/emoticon_smile.png) 4px 4px no-repeat;
}
ul.exclamation li {
background: url(../images/exclamation.png) 4px 4px no-repeat;
}
ul.heart li {
background: url(../images/heart.png) 4px 4px no-repeat;
}
ul.music li {
background: url(../images/music.png) 4px 4px no-repeat;
}
ul.rainbow li {
background: url(../images/rainbow.png) 4px 4px no-repeat;
}
ul.golf li {
background: url(../images/sport_golf.png) 4px 4px no-repeat;
}
ul.tennis li {
background: url(../images/sport_tennis.png) 4px 4px no-repeat;
}
ul.star li {
background: url(../images/star.png) 4px 4px no-repeat;
}
ul.tick li {
background: url(../images/tick.png) 4px 4px no-repeat;
}
/* Alert Styles */
.alert, .info, .download, .note {
display: block;
padding: 10px 10px 10px 50px;
margin: 15px 0;
}
.alert {
color: #c00;
border-top: 3px solid #fe7b7a;
border-bottom: 3px solid #fe7b7a;
background: #FFD6D6 url(../images/status-alert.png) 10px 50% no-repeat;
}
.info {
color: #0055BB;
border-top: 3px solid #629de3;
border-bottom: 3px solid #629de3;
background: #D8E5F8 url(../images/status-info.png) 10px 50% no-repeat;
}
.note {
color: #B79000;
border-top: 3px solid #fde179;
border-bottom: 3px solid #fde179;
background: #FEF6D8 url(../images/status-note.png) 10px 50% no-repeat;
}
.download {
color: #57861A;
border-top: 3px solid #c2df88;
border-bottom: 3px solid #c2df88;
background: #EEF7DD url(../images/status-download.png) 10px 50% no-repeat;
}
/* Blockquote */
source, pre, blockquote{
background:#E0E0E0;
border-left:2px solid #666;
color:#000;
text-shadow:0px 1px 1px #FFF;
}
blockquote, blockquote.left, blockquote.right {
padding:20px;
margin:10px 0;
font-style:italic;
font-family:"Times New Roman", Times, serif;
font-size:20px;
line-height:25px;
}
blockquote.left {
float:left;
margin:0 10px 10px 0;
width:50%;
}
blockquote.right {
float:right;
margin:0 0 10px 10px;
width:50%;
}
/*------ Tooltips ------*/
.tool-tip {
float: left;
border: 1px solid #D4D5AA;
padding: 5px;
background: #FFFFCC;
max-width: 200px;
}
.tool-title {
padding: 0;
margin: 0;
margin-top: -15px;
padding-top: 15px;
padding-bottom: 5px;
background: url(../../system/images/selector-arrow.png) no-repeat;
font-size: 100%;
font-weight: bold;
}
.tool-text {
margin: 0;
font-size: 100%;
}
#search .readon{
font-size:14px;
font-weight:bold;
display:inline;
float:none;
padding:4px 26px;
margin:0 0 0 20px;
}
/*------ System Messages ------*/
#system-message {
margin-bottom: 10px;
padding: 0;
}
#system-message dt {
font-weight: bold;
}
#system-message dd {
margin: 0;
font-weight: bold;
text-indent: 30px;
}
#system-message dd ul {
list-style: none;
margin: 0px;
padding: 10px;
color: #0055BB;
background: #D8E5F8 url(../images/status-info.png) no-repeat 10px 50%;
border-top: 3px solid #629DE3;
border-bottom: 3px solid #629DE3;
}
#system-message dt.message {
display: none;
}
#system-message dd.message {
}
#system-message dt.error {
display: none;
}
#system-message dd.error ul {
margin: 0px;
list-style: none;
color: #c00;
background: #FFD6D6 url(../images/status-alert.png) no-repeat 10px 50%;
border-top: 3px solid #DE7A7B;
border-bottom: 3px solid #DE7A7B;
}
#system-message dt.notice {
display: none;
}
#system-message dd.notice ul {
margin: 0px;
list-style: none;
color: #DCA33C;
background: #FEF6D8 url(../images/status-note.png) no-repeat 10px 50%;
border-top: 3px solid #F0DC7E;
border-bottom: 3px solid #F0DC7E;
}
/*------ Module Styles ------*/
.moduletable,
.moduletable_menu,
.moduletable_text{
margin:0 0 20px 0;
}
#header .moduletable,
#header .moduletable_menu,
#header .moduletable_text,
#header .moduletable-ms1,
#header .moduletable-ms2,
#header .moduletable-ms3,
#header .moduletable-ms4{
margin:0;
}
/* Poll Module */
.poll,
.pollstableborder{
width:100%;
}
.pollstableborder{
margin:0 0 20px 0;
}
.pollstableborder td{
text-align:left;
vertical-align:middle;
padding:3px;
}
/* Latest News Module */
ul.latestnews,
ul.latestnews li{
margin:0;
padding:0;
list-style:none;
}
ul.latestnews li a{
display:block;
padding:3px 3px 3px 25px;
}
/* Popular Module */
ul.mostread,
ul.mostread li{
margin:0;
padding:0;
list-style:none;
}
ul.mostread li a{
display:block;
padding:3px 3px 3px 25px;
}
/* Sections */
ul.sections,
ul.sections li{
margin:0;
padding:0;
list-style:none;
}
ul.sections li a{
display:block;
padding:3px 3px 3px 25px;
}
/* Menu Module */
.moduletable_menu{
margin:0 0 20px 0;
}
.moduletable_menu ul,
.moduletable_menu li{
margin:0;
padding:0;
list-style:none;
}
.moduletable_menu ul{
margin:0 0 20px 0;
}
.moduletable_menu li a{
display:block;
padding:3px 10px 3px 35px;
text-decoration:none;
}
.moduletable_menu li a:active{
position:relative;
left:1px;
}
.moduletable_menu ul ul{
margin:0;
}
.moduletable_menu ul ul a{
padding:3px 10px 3px 45px;
}
.moduletable_menu ul ul ul a{
padding:3px 10px 3px 55px;
}
/* Login Module */
#form-login ul,
#form-login ul li{
margin:0;
padding:0;
list-style:none;
}
#form-login ul li a{
display:block;
padding:3px 3px 3px 25px;
}
/* Banner Module */
.bannerheader,
.banneritem_text,
.bannerfooter_text{
padding:10px 0;
}
/* Module Styles */
.moduletable-ms1,
.moduletable-ms2,
.moduletable-ms3,
.moduletable-ms4{
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
padding:10px;
margin:0 0 20px 0;
}/* Module Style 1 */
.moduletable-ms1{
background:#0066CC;
color:#EFEFEF;
}
.moduletable-ms1 a,
.moduletable-ms2 a,
.moduletable-ms4 a{
color:#FFF;
}
/* Module Style 2 */
.moduletable-ms2{
background:#CC0000;
color:#EFEFEF;
}
/* Module Style 3 */
.moduletable-ms3{
background:#FFCC33;
color:#444;
}
.moduletable-ms3 a{
color:#222;
}
/* Module Style 4 */
.moduletable-ms4{
background:#99CC00;
color:#EFEFEF;
}

e questo è l'index.php:

Codice: [Seleziona]
<?php
/**
* @copyright Copyright (C) 2010 Pixel Praise LLC. All rights reserved.
*/
// no direct access
defined'_JEXEC' ) or die( 'Restricted access' );
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" >
<head>
<?php // Detecting Home
$menu = & JSite::getMenu();
if (
$menu->getActive() == $menu->getDefault()) {
$siteHome 1;
} else {
$siteHome 0;
}

// Detecting Active Variables
$option JRequest::getCmd('option''');
$view JRequest::getCmd('view''');
$layout JRequest::getCmd('layout''');
$task JRequest::getCmd('task''');
$itemid JRequest::getCmd('Itemid''');
$templateTheme $this->params->get('templateTheme');
$bgColor $this->params->get('bgColor');
$fontFamily $this->params->get('fontFamily');
$switchSidebar $this->params->get('switchSidebar');
$menuType $this->params->get('menuType');
$headingFontFamily "heading-" $this->params->get('headingFontFamily');
if(
$this->params->get('siteTitle')){
$siteTitle $this->params->get('siteTitle');
} else {
$siteTitle $mainframe->getCfg('sitename');
}
// set custom template theme for user
$user = &JFactory::getUser();
if( !
is_nullJRequest::getCmd('templateTheme'NULL) ) ) {
$user->setParam($this->template.'_theme'JRequest::getCmd('templateTheme'));
$user->save(true);
}
if(
$user->getParam($this->template.'_theme')) {
$this->params->set('templateTheme'$user->getParam($this->template.'_theme'));
}
if(
$task == "edit" || $layout == "form" ) {
$fullWidth 1;
} else {
$fullWidth 0;
}
?>

<jdoc:include type="head" />
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="<?php echo $this->baseurl?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl?>/templates/<?php echo $this->template ?>/css/<?php echo $this->params->get('templateTheme'); ?>.css" type="text/css" />
<style type="text/css">
<?php if(($this->countModules('left') == 0) && ($this->countModules('right') == 0)) { ?>
#mainbody{width:100%; background:none;} #content{width:100%;}
<?php ?>
<?php if(($this->countModules('left') >= 1) && ($this->countModules('right') == 0)) { ?>
#mainbody{width:100%;}#content{width:700px;}
<?php ?>
<?php if(($this->countModules('left') == 0) && ($this->countModules('right') >= 1)) { ?>
#mainbody{background:none;} #content{width:100%;}
<?php ?>
<?php if($this->params->get('fontColor')){ ?>
body{color:<?php echo $this->params->get('fontColor'); ?>}
<?php ?>
<?php if($this->params->get('headingColor')){ ?>
h1, h2, h3, h4, h5, h6, .componentheading, .contentheading{color:<?php echo $this->params->get('headingColor'); ?>}
<?php ?>
<?php if($this->params->get('linkColor')){ ?>
a:link, a:active, a:visited{color:<?php echo $this->params->get('linkColor'); ?>}
<?php ?>
<?php if($this->params->get('linkHoverColor')){ ?>
a:hover{color:<?php echo $this->params->get('linkHoverColor'); ?>}
<?php ?>
<?php if($fullWidth){ ?>
#mainbody{width:100%; background:none;} #content{width:100%;} #sidebar{display:none;} #sidebar2{display:none;}
<?php ?>
<?php if($this->params->get('topMenuColor')){ ?>
#topmenu{background-color:<?php echo $this->params->get('topMenuColor'); ?>}
<?php ?>
<?php if($this->params->get('headerColor')){ ?>
#header{background-color:<?php echo $this->params->get('headerColor'); ?>}
<?php ?>
<?php if($this->params->get('mainMenuColor')){ ?>
#mainmenu{background-color:<?php echo $this->params->get('mainMenuColor'); ?>}
<?php ?>
<?php if($this->params->get('bannerColor')){ ?>
#banner{background-color:<?php echo $this->params->get('bannerColor'); ?>}
<?php ?>
<?php if($this->params->get('pathwayColor')){ ?>
#pathway{background-color:<?php echo $this->params->get('pathwayColor'); ?>}
<?php ?>
<?php if($this->params->get('insetColor')){ ?>
.inset-container{background-color:<?php echo $this->params->get('insetColor'); ?>}
<?php ?>
<?php if($this->params->get('posColor')){ ?>
.pos-container{background-color:<?php echo $this->params->get('posColor'); ?>}
<?php ?>
<?php if($this->params->get('elementsColor')){ ?>
.elements-container{background-color:<?php echo $this->params->get('elementsColor'); ?>}
<?php ?>
<?php if($this->params->get('searchColor')){ ?>
#search{background-color:<?php echo $this->params->get('searchColor'); ?>}
<?php ?>
<?php if($this->params->get('footerColor')){ ?>
#footer{background-color:<?php echo $this->params->get('footerColor'); ?>}
<?php ?>
</style>
</head>
<body class="<?php echo $option " " $view " " $layout " " $task " " $itemid " " $fontFamily " " $headingFontFamily;?>  <?php if($siteHome){ echo "homepage";}?> sidebar-<?php echo $switchSidebar;?>">
<?php if (($this->countModules('user3')) || ($this->countModules('syndicate'))) { ?>
<div id="topmenu">
  <div class="width">
    <div class="inside">
      <?php if ($this->countModules('user3')) { ?>
      <div class="topmenu">
        <jdoc:include type="modules" name="user3" />
      </div>
      <?php ?>
      <?php if ($this->countModules('syndicate')) { ?>
      <div id="syndicate">
        <jdoc:include type="modules" name="syndicate" />
      </div>
      <?php ?>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<div id="header">
  <div class="width">
    <div class="inside">
      <a href="<?php echo $mainframe->getCfg('live_site'); ?>" id="logo" title="<?php echo $mainframe->getCfg('sitename'); ?>">
      <h1><?php echo $mainframe->getCfg('sitename'); ?></h1>
      </a>
      <?php if ($this->countModules('user5')) { ?>
      <div id="bannerad">
        <jdoc:include type="modules" name="user5" />
      </div>
      <?php ?>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php if ($this->countModules('user6')) { ?>
<div id="mainmenu">
  <div class="width">
    <div class="inside">
      <jdoc:include type="modules" name="user6" />
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if ($this->countModules('breadcrumb')) { ?>
<div id="pathway">
  <div class="width">
    <div class="inside">
      <jdoc:include type="modules" name="breadcrumb" />
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if (($this->countModules('user7')) || ($this->countModules('user8')) || ($this->countModules('user9')) || ($this->countModules('user10'))) { ?>
<div class="inset-container">
  <div class="width">
    <div class="inside">
      <table class="inset">
        <tr>
          <?php if ($this->countModules('user7')) { ?><td class="inset1"><jdoc:include type="modules" name="user7" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user8')) { ?><td class="inset2"><jdoc:include type="modules" name="user8" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user9')) { ?><td class="inset3"><jdoc:include type="modules" name="user9" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user10')) { ?><td class="inset4"><jdoc:include type="modules" name="user10" style="xhtml" /></td><?php ?>
        </tr>
      </table>
    </div>
  </div>
</div>
<?php ?>
<?php if (($this->countModules('user11')) || ($this->countModules('user12')) || ($this->countModules('user13'))) { ?>
<div class="pos-container">
  <div class="width">
    <div class="inside">
      <table class="pos">
        <tr>
          <?php if ($this->countModules('user11')) { ?><td class="pos1"><jdoc:include type="modules" name="user11" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user12')) { ?><td class="pos2"><jdoc:include type="modules" name="user12" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user13')) { ?><td class="pos3"><jdoc:include type="modules" name="user13" style="xhtml" /></td><?php ?>
        </tr>
      </table>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if ($this->countModules('banner')) { ?>
<div id="banner">
  <div class="width">
    <div class="inside">
      <jdoc:include type="modules" name="banner" style="xhtml" />
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if (($this->countModules('user1')) || ($this->countModules('user2'))) { ?>
<div class="elements-container">
  <div class="width">
    <div class="inside">
      <table class="elements">
        <tr>
          <?php if ($this->countModules('user1')) { ?><td class="elements1"><jdoc:include type="modules" name="user1" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user2')) { ?><td class="elements2"><jdoc:include type="modules" name="user2" style="xhtml" /></td><?php ?>
        </tr>
      </table>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<div id="container">
  <div class="width">
    <div class="inside">
      <div id="mainbody">
        <jdoc:include type="modules" name="top" style="xhtml" />
        <div class="clr"></div>
<div id="content">
          <jdoc:include type="message" />
          <div class="clr"></div>
          <jdoc:include type="component" />
          <jdoc:include type="modules" name="bottom" style="xhtml" />
          <div class="clr"></div>
        </div>
        <?php if ($this->countModules('left')) { ?>
<div id="sidebar">
          <jdoc:include type="modules" name="left" style="xhtml" />
          <div class="clr"></div>
        </div>
        <?php ?>
        <div class="clr"></div>
      </div>
      <?php if ($this->countModules('right')) { ?>
      <div id="sidebar2">
        <jdoc:include type="modules" name="right" style="xhtml" />
        <div class="clr"></div>
      </div>
      <?php ?>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php if (($this->countModules('user16')) || ($this->countModules('user17'))) { ?>
<div class="elements-container">
  <div class="width">
    <div class="inside">
      <table class="elements">
        <tr>
          <?php if ($this->countModules('user16')) { ?><td class="elements1"><jdoc:include type="modules" name="user16" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user17')) { ?><td class="elements2"><jdoc:include type="modules" name="user17" style="xhtml" /></td><?php ?>
        </tr>
      </table>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if (($this->countModules('user18')) || ($this->countModules('user19')) || ($this->countModules('user20'))) { ?>
<div class="pos-container">
  <div class="width">
    <div class="inside">
      <table class="pos">
        <tr>
          <?php if ($this->countModules('user18')) { ?><td class="pos1"><jdoc:include type="modules" name="user18" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user19')) { ?><td class="pos2"><jdoc:include type="modules" name="user19" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user20')) { ?><td class="pos3"><jdoc:include type="modules" name="user20" style="xhtml" /></td><?php ?>
        </tr>
      </table>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if (($this->countModules('user21')) || ($this->countModules('user22')) || ($this->countModules('user23')) || ($this->countModules('user24'))) { ?>
<div class="inset-container">
  <div class="width">
    <div class="inside">
      <table class="inset">
        <tr>
          <?php if ($this->countModules('user21')) { ?><td class="inset1"><jdoc:include type="modules" name="user21" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user22')) { ?><td class="inset2"><jdoc:include type="modules" name="user22" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user23')) { ?><td class="inset3"><jdoc:include type="modules" name="user23" style="xhtml" /></td><?php ?>
          <?php if ($this->countModules('user24')) { ?><td class="inset4"><jdoc:include type="modules" name="user24" style="xhtml" /></td><?php ?>
        </tr>
      </table>
    </div>
  </div>
</div>
<?php ?>
<?php if ($this->countModules('user4')) { ?>
<div id="search">
  <div class="width">
    <div class="inside">
      <jdoc:include type="modules" name="user4" />
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if (($this->countModules('footer')) || ($this->countModules('user25'))) { ?>
<div id="footer">
  <div class="width">
    <div class="inside">
      <?php if ($this->countModules('footer')) { ?>
      <div id="copy">
        <jdoc:include type="modules" name="footer" />
        <a href="http://www.joomlapraise.com" title="Joomla! Templates and Extensions" target="_blank">Joomla! Templates &amp; Extensions</a> by <a href="http://www.joomlapraise.com" title="Joomla! Templates and Extensions" target="_blank">JoomlaPraise</a>
<div class="clr"></div>
      </div>
      <?php ?>
      <?php if ($this->countModules('user25')) { ?>
      <div id="link">
        <jdoc:include type="modules" name="user25" style="xhtml" />
        <div class="clr"></div>
      </div>
      <?php ?>
      <div class="clr"></div>
    </div>
  </div>
</div>
<?php ?>
<?php if ($this->countModules('debug')) { ?>
<div id="debug">
  <div class="width">
    <div class="inside">
      <jdoc:include type="modules" name="debug" style="xhtml" />
    </div>
  </div>
</div>
<?php ?>
</body>
</html>

La demo del sito è www.mateseonline.com/index.php

« Ultima modifica: 18 Gen 2011, 00:29:03 da Amedeo Santomassimo »

Offline bigham

  • Global Moderator
  • Instancabile
  • ********
  • Post: 3662
  • Sesso: Maschio
  • Contagiato dalla Joomlaite :)
    • Mostra profilo
Re:Problema in IE7
« Risposta #1 il: 18 Gen 2011, 20:54:09 »
Ciao Amedeo.

Dirò una minkiata ma secondo me il problema potrebbe essere nel codice html che genera il modulo che stai usando per visualizzare le immagini.

Analizzando il codice della pagina con Firebug per FF e con l'equivalente per IE noto questo nella tabella in cui vengono visualizzate le immagini:

questo è con IE:
<td width="65" style="vertical-align: top;">

 questo con FF
<td width="65px" style="vertical-align: top;">

Con IE sparisce l'unità di misura per la larghezza delle colonne.
Ci sono più cose in cielo e in terra, Orazio, di quante ne sogni la tua filosofia.

 



Web Design Bolzano Kreatif