Back to top

Autore Topic: Joohopia: Little Green World v1.1 e problema centratura testo e immagini!!!  (Letto 1890 volte)

Offline infospa

  • Nuovo arrivato
  • *
  • Post: 18
    • Mostra profilo
Visto che mi avete già aiutato in precedenza su questo template vi pongo un'ulteriore quesito:

quando posto un articolo e metto il testo centrato o semplicemente voglio centrare un'immagine, l'immagine o il testo non risultano centrati ma spostati più verso sinistra, vi metto un esempio :

http://www.apslunigianafoto.it/index.php?option=com_content&view=section&layout=blog&id=5&Itemid=55

e il codice HTML del template

Codice: [Seleziona]
<?php 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>
<jdoc:include type="head" />
<?php $this->setGenerator(''); ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="./templates/little_green_world_joohopia/css/little_green_world.css" rel="stylesheet" type="text/css" />
<?php 

include "joo_green.php";

?>

<style type="text/css">
body {
background-image:url(<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/background/blue_sky_back.jpg);
background-position:center;
background-position:top;
background-repeat:repeat-x;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height:100%;
background-color: #1b2e01;
}
.littlegreen {
height:12px;
background: url(<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/greenbar_mini.gif);
}
.topper {
background-image:url(<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/green_top.jpg);
background-repeat:no-repeat;
background-position:right bottom;
background-color:#E5E2D5;
height:214px;
}
.menuline {
background-image:url(<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/greenbar.gif);
}
.menuline a {
color:#FFF;
}
.menuline a:hover {
color:#333;
background-image:url(<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/bottomshadow.png);
background-repeat: repeat-x;
}
.logotop {
float:left;
}
</style>
<script src="<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/scripts/swfobject_modified.js" type="text/javascript"></script>

</head>
<body>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle" class="topper"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10">&nbsp;</td>
<td valign="top"><div class="logotop"><a href="index.php"><img src="<?php echo($logopic); ?>" vspace="10" alt="<?php echo($alttext); ?>" title="<?php echo($alttext); ?>"/></a></div></td>
<td align="right"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="450" height="214">
<param name="movie" value="<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/flashglow.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
</object>
</td>
<td width="15">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td height="32" class="menuline"><jdoc:include type="modules" name="user3" /></td>
</tr>
<?php if(JRequest::getVar('id') == "131" ) : ?>

<tr>
<td bgcolor="#000000"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="1000" height="206">
<param name="movie" value="./templates/little_green_world_joohopia/images/gobotop.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value='bild1=<?php echo($pic1); ?>&amp;bild2=<?php echo($pic2); ?>&amp;bild3=<?php echo($pic3); ?>&amp;menu1_name=<?php echo($menu1_name)?>&amp;menu2_name=<?php echo($menu2_name)?>&amp;menu3_name=<?php echo($menu3_name)?>&amp;menu1_link=<?php echo($menu1_link)?>&amp;menu2_link=<?php echo($menu2_link)?>&amp;menu3_link=<?php echo($menu3_link)?>' />
<!--[if!IE]> <-->
<object data="./templates/little_green_world_joohopia/images/gobotop.swf"
width="1000" height="206" type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="FlashVars" value='bild1=<?php echo($pic1); ?>&amp;bild2=<?php echo($pic2); ?>&amp;bild3=<?php echo($pic3); ?>&amp;menu1_name=<?php echo($menu1_name)?>&amp;menu2_name=<?php echo($menu2_name)?>&amp;menu3_name=<?php echo($menu3_name)?>&amp;menu1_link=<?php echo($menu1_link)?>&amp;menu2_link=<?php echo($menu2_link)?>&amp;menu3_link=<?php echo($menu3_link)?>' />
</object>
<!--> <![endif]-->
</object></td>
</tr>
<tr>
<td bgcolor="#a4d093" class="littlegreen"></td>
</tr>
<?php endif; ?>
<tr>
<td bgcolor="#a4d093">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#a4d093"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15px"></td>
<td width="165px" align="left" valign="top"><jdoc:include type="modules" name="left" />
<jdoc:include type="modules" name="user1" /></td>
<td width="15px" class="green_v"><img src="images/blank.gif" height="2" width="1" alt=""/></td>
<td valign="top"><jdoc:include type="modules" name="top" />
<jdoc:include type="modules" name="breadcrum" />
<jdoc:include type="component" /></td>
<?php if($this->countModules('right') || $this->countModules('user2')) : ?>
<td width="15px" class="green_v"><img src="<?php echo(JURI::base()); ?>/templates/little_green_world_joohopia/images/blank.gif" height="2" width="1" alt="filler2"/></td>
<td width="165px" align="left" valign="top"><jdoc:include type="modules" name="right" />
<jdoc:include type="modules" name="user2" /></td>
<?php endif; ?>
<td width="15px"></td>
</tr>
</table>
<br /></td>
</tr>
<tr>
<td bgcolor="#969696"></td>
</tr>
<tr>
<td class="bottomer"><div align="center">
<jdoc:include type="modules" name="bottom" />
</div></td>
</tr>
</table>
<div align="center">
<jdoc:include type="modules" name="footer" />
</div>
<br />
<div class="joohopia"><a href="http://www.joohopia.com" title="joomla template by joohopia">template:joohopia.com</a></div>
<script type="text/javascript">

<!--

swfobject.registerObject("FlashID");

swfobject.registerObject("FlashID2");

//-->

</script>
</body>
</html>
Grazie come sempre del vostro prezioso aiuto.

Offline conti1

  • Global Moderator
  • Instancabile
  • *****
  • Post: 9075
  • Sesso: Maschio
    • Mostra profilo
ciao
vista l'ora chiedo
dal link postato vedo immagine e un titolo ma testo nulla.
se possibile postare il link  x risolvere al meglio il problema grazie
evitare nomi commerciali grazie

Offline infospa

  • Nuovo arrivato
  • *
  • Post: 18
    • Mostra profilo
Si e' vero ma sia mettendo testo che immagini rimane tutto spostato a sinistra!!

 



Web Design Bolzano Kreatif