ciao ragazzi ho un problema abbastanza insolito.
Ho scaricato un template e tra le immagini c'è una freccia che mi viene messa davanti ogni bottone nei menu.
Di default questa è verde, io l'ho cambiata in blu, sovrascritta alla precedente ma me la visualizza sempe verde...
l'ho cancellata tramite ftp, a questo punto nmon avrebbe dovuto visualizzarla... ma ahimè me la rimette e sempre verde...
ho guardato sia il file index.php del template e il file del css,
e questa immagine non la mensiona proprio...
il file in questione si chiama arrow.png
ora posto i codici delle 2 pagine...io non so come fare...
index.php
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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">
<head>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php mosShowHead(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/css/template_css.css" />
<style type="text/css">
<!--
body {
margin-left: 2px;
margin-top: 4px;
margin-right: 0px;
margin-bottom: 0px;
}
.Stile2 {color: #178aff}
.Stile3 {color: #000000}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
function addBookmark(title,url) {
var msg_netscape = "NetScape message";
var msg_opera = "This function does not work with this version of Opera. Please bookmark us manually.";
var msg_other = "Your browser does not support automatic bookmarks. Please bookmark us manually.";
var agt = navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1)
{
if (window.opera && window.print)
{
return true;
} else
{
alert(msg_other);
}
}
else if (agt.indexOf("firefox") != -1) window.sidebar.addPanel(title,url,"");
else if ((agt.indexOf("msie") != -1) && (parseInt(navigator.appVersion) >=4)) window.external.AddFavorite(url,title);
else if (agt.indexOf("netscape") != -1) window.sidebar.addPanel(title,url,"")
else if (window.sidebar && window.sidebar.addPanel) window.sidebar.addPanel(title,url,"");
else alert(msg_other);
}
</SCRIPT>
</head>
<body>
<center>
<table width="0" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25"><span class="pathway">
<?php mosPathWay(); ?>
</span></td>
<td> </td>
</tr>
<tr>
<td height="150" width="774" background="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/header.jpg" class="title"> </td>
<td> </td>
</tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="154" valign="top">
<table width="154" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="16" bgcolor="#E4E4E4"><div align="center"><span class="createdate"><a href="index.php"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/home_noir.gif" border="0" align="absmiddle" alt="Home"/></a> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dotvertical.gif" width="9" height="16" align="absmiddle" /> <a href="#" onclick="javascript:window.print();"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/print_noir.gif" border="0" align="absbottom" alt="Print"/></a> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dotvertical.gif" width="9" height="16" align="absmiddle" /></span> <span class="createdate"><a href="javascript:;" onClick="addBookmark('<?php echo $mainframe->getPageTitle(); ?>',top.location.href)"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/bookmark_noir.gif" border="0" align="absbottom" alt="Bookmark"/></a></span><span class="createdate"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dotvertical.gif" alt="Contatti" width="9" height="16" align="absmiddle" /> <span class="Stile3"><a href="index.php?option=com_contact&Itemid=3">@</a></span> <a href="index.php?option=com_contact&Itemid=3"></a></span></div></td>
</tr>
<tr>
<td height="22" valign="top" bgcolor="#E4E4E4"><div align="center">
<table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">
<?php mosLoadModules ( 'user4', -1 ); ?>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/hosta2.jpg" style="background-repeat:no-repeat"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/pixel.png" width="1" height="42" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php mosLoadModules ( 'left' ); ?>
<div align="center"></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bottom"><div align="left">
<?php mosLoadModules ( 'user1' ); ?>
</div></td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100%">
<?php mosLoadModules ( 'inset' ); ?></td>
</tr>
</table>
<td width="620" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/pixel.png" width="1" height="5" /></td>
</tr>
<tr>
<td background="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dot.gif"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/pixel.png" width="1" height="3" /></td>
</tr>
<?php if (mosCountModules( "user3" )) { ?>
<tr>
<td> <?php mosLoadModules ( 'user3', -1 ); ?></td>
</tr>
<?php } ?>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table width="96%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td valign="top" class="mainpage"><?php mosLoadModules ( 'top' ); ?></td>
</tr>
</table>
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td valign="top" class="mainpage"><?php mosMainBody(); ?>
</td>
</tr>
</table>
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td valign="top" class="mainpage"><?php mosLoadModules ( 'bottom' ); ?></td>
</tr>
</table></td>
<?php if (mosCountModules( "right" )) { ?>
<td width="154" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><?php mosLoadModules ( 'right' ); ?>
<?php mosLoadModules ( 'user2' ); ?>
</td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" valign="top"> <div align="center">
<?php mosLoadModules ( 'banner, -1' ); ?>
</div> </tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dot.gif"><img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/pixel.png" width="1" height="3" /></td>
</tr>
<tr>
<td valign="middle"><table width="32%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><div class="createdate" align="left"> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/home_vert.gif" width="12" height="10" align="bottom" /> <a href="index.php">Home</a> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dotvertical.gif" width="9" height="16" align="absmiddle" /> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/print_vert.gif" width="15" height="16" align="absbottom" /><a href="#" onclick="javascript:window.print();">Print</a> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dotvertical.gif" width="9" height="16" align="absmiddle" /> <span class="Stile2">@</span> <a href="index.php?option=com_contact&Itemid=3">Contact</a> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/dotvertical.gif" width="9" height="16" align="absmiddle" /> <img src="<?php echo $mosConfig_live_site; ?>/templates/dwd_hostalavista/images/top_vert.gif" width="14" height="16" align="absbottom" /><a href="#">Top</a><br />
<br />
</div></td>
</tr>
</table></td>
</tr>
</table>
<?php mosLoadModules( 'debug', -1 );?>
</center>
</body>
</html>
template css
body {
/*margin: 0px;*/
}
tr, p, div {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
color : #000000;
}
hr {
background : #330099;
height : 1px;
width : 100%;
}
#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 dotted #cccccc;
border-bottom:1px dotted #cccccc;
border-top:1px dotted #cccccc;
border-right:1px dotted #cccccc;
}
ul#mainlevel-nav li a
{
width: 100%;
display: block;
padding-left: 15px;
padding-right: 15px;
text-decoration: none;
color: #333333;
background: transparent;
}
#buttons>ul#mainlevel-nav li a { width: auto; }
ul#mainlevel-nav li a:hover
{
color: #ffffff;
background: #330099;
}
/*different setting for newsflash*/
.newsflash td {
color: #000000;
text-align: justify;
vertical-align: middle;
}
/*setting for the greetings*/
.mainpage {
text-align: justify;
color: #333333;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 13px;
}
.mainpage-bkg {
}
.greybg {
background: #cecece;
}
/*pathaway setting*/
.pathway {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 10px;
}
a.pathway:link, a.pathway:visited {
color : #666666;
font-weight : normal;
}
a.pathway:hover {
color : #330099;
font-weight : normal;
text-decoration : underline;
}
/*for title or site name*/
.title {
font-family: sans-serif;
font-size: 22px;
font-weight: bold;
color : #FFFFFF;
text-indent:15px;
}
/*for the tag-line*/
.subtitle {
font-family: sans-serif;
font-size: 10px;
font-weight: bold;
color : #666666;
text-transform: uppercase;
letter-spacing: 2px;
margin-left: 20px;
}
#active_menu {
color: #000000;
font-weight:normal;
}
/* --Default Class Settings-- */
a.mainlevel:link, a.mainlevel:visited {
display: block;
color: #666666;
font-weight: normal;
background-image: url(../images/menu_bgr.gif);
background-repeat: no-repeat;
/*width: 100%;*/
text-indent: 0px;
text-decoration: none;
font-family: Helvetica, Arial, Verdana, Helvetica, sans-serif;
font-size:11px;
line-height: 22px;
margin-bottom: 0px;
text-align:left;
padding-left:15px;
}
a.mainlevel:hover {
color: #000000;
font-weight: normal;
}
a.mainmenu:link, a.mainmenu:visited {
color: #ffffff;
font-family: Helvetica, Verdana, Helvetica, Arial, sans-serif;
font-weight: normal;
font-size: 10px;
}
a.mainmenu:hover {
color: #000000;
}
.pollstableborder {
border: 1px solid;
padding: 1px;
}
a.sublevel:link, a.sublevel:visited {
padding-left: 5px;
vertical-align: middle;
font-family: Helvetica, Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;
color: #666666;
text-align: left;
line-height: 22px;
}
a.sublevel:hover {
color: #000000;
text-decoration: none;
}
table.moduletable {
padding: 4px 0px 5px 8px;
margin-bottom: 8px;
margin-top:8px;
width: 100%;
}
table.moduletable th {
background: url(../images/mod_title.gif);
background-repeat: no-repeat;
font-size : 11px;
/*line-height : 18px;*/
height : 22px;
font-weight : bold;
text-transform :uppercase;
color : #333333;
text-align : left;
vertical-align:middle;
width : 100%;
}
table.moduletable li {
}
table.moduletable ul {
padding: 0px;
}
table.moduletable td {
font-size: 10px;
font-weight: normal;
}
.poll {
font-family : Arial, Helvetica, Verdana, sans-serif;
font-size : 10px;
color : #666666;
line-height : 14px;
}
table.pollstableborder {
}
.sectiontableheader {
background-color : #330099;
color : #FFFFFF;
text-align : left;
font-weight : bold;
}
.sectiontableentry1 {
background-color : #F0FFF0;
}
.sectiontableentry2 {
background-color : #FFFFFF;
}
.small {
font-family : Helvetica, Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #666666;
text-decoration : none;
font-weight : bold;
}
.smalldark {
font-family : Helvetica, Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
text-decoration : none;
font-weight : normal;
}
.contentpane {
}
.contentpaneopen {
width: 100%;
padding: 1px;
}
.componentheading {
font-family : Helvetica, Verdana, Arial, sans-serif;
font-size : 16px;
font-weight : bold;
color : #000000;
text-align : left;
}
.contentheading {
font-family : Helvetica, Verdana, Arial, sans-serif;
font-size : 16px;
font-weight : bold;
color : #330099;
text-align : left;
}
.createdate {
font-family : Arial, Helvetica, sans-serif;
font-size : 10px;
color : #330099;
text-align : left;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-style : normal;
font-size : 10px;
font-weight : bold;
background-color : #A0968C;
color : #FFFFFF;
border : 1px solid #000000;
}
.inputbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
border : 1px solid #000000;
}
a:link, a:visited {
color: #330099;
text-decoration: none;
}
a:hover {
color: #330099;
text-decoration: underline;
}
/* For content item titles that are hyperlink instead of Read On */
a.contentpagetitle:link, a.contentpagetitle:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #330099;
text-align:left;
text-decoration: none;
}
a.contentpagetitle:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-align:left;
color: #330099;
text-decoration: underline;
font-weight: bold;
}
a.category:link, a.category:visited {
color : #330099;
font-weight : bold;
font-size: 11px;
font-weight: bold;
}
a.category:hover {
color : #330099;
}
/* Styles for dhtml tabbed-pages */
.ontab {
background-color: #ffae00;
border-left: outset 2px #330099;
border-right: outset 2px #808080;
border-top: outset 2px #330099;
border-bottom: solid 1px #d5d5d5;
text-align: center;
/* Cannot use hand as its not a W3C CSS validator */
/* cursor: hand;*/
font-weight: bold;
color: #FFFFFF;
}
.offtab {
background-color : #e5e5e5;
border-left: outset 2px #E0E0E0;
border-right: outset 2px #E0E0E0;
border-top: outset 2px #E0E0E0;
border-bottom: solid 1px #d5d5d5;
text-align: center;
/* Cannot use hand as its not a W3C CSS validator */
/* cursor: hand;*/
font-weight: normal;
}
.tabpadding {
}
.tabheading {
background-color: #ffae00;
text-align: left;
}
.pagetext {
visibility: hidden;
display: none;
position: relative;
top: 0;
}
/* for modifying {moscode} output. Don't set the colour! */
.moscode {
background-color: #f0f0f0;
}
.code {
background-color: #f0f0f0;
border: 1px solid #FFF;
}
/* Text passed with mosmsg url parameter */
.message {
font-family : Helvetica, Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size : 10pt;
color : #333333;
text-align: left;
}
/* Javascript Back button */
.back_button {
text-align: center;
margin-top: 40px;
}
table.contenttoc {
color: #333300;
background-color: #e0e0e0;
border: 1px solid #333333;
}
table.contenttoc td {
font-size: 8pt;
font-weight: normal;
text-align:left;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
li {
line-height: 15px;
padding-left: 10px;
padding-top: 0px;
background-image: url(../images/arrow.gif) ;
background-repeat: no-repeat;
background-position: 0px 3px;
}
table.searchinto {
width: 100%;
}
table.searchintro td {
background-color: #ffffff;
color: #000000;
font-weight: bold;
}
form {
/* removes space below form elements */
margin: 0;
padding: 0;
}