Back to top

Autore Topic: Testo Sito allineamento solo sinistra  (Letto 1544 volte)

Offline fescenniumc5

  • Nuovo arrivato
  • *
  • Post: 3
    • Mostra profilo
Testo Sito allineamento solo sinistra
« il: 16 Ott 2008, 17:02:12 »
Salve,
Ho un problema con il Template... utilizzo:
siteground-j15-71 per il sito : www.fescennium.it
Il mio problema però è che sia il Testo dei documenti che quello scritto nelle tabelle non fà lallineamento centrale ma solo a Sinistra mentre con altri template funziona correttamente.
Non sono riuscito però a capire cosa devo andare a modificare per corregere l' errore.

Grazie 1000

SteveTW

  • Visitatore
Re: Testo Sito allineamento solo sinistra
« Risposta #1 il: 16 Ott 2008, 23:24:00 »
pare che tu non sia l'unico ad avere problemi proprio con quel template (.... leggendo questa sera sul forum).

Quasi sicuramente manca un riferimento nel css.... o nell'index.php.... potresti editare il file index e vedere come è fatto?

Offline fescenniumc5

  • Nuovo arrivato
  • *
  • Post: 3
    • Mostra profilo
Re: Testo Sito allineamento solo sinistra
« Risposta #2 il: 20 Ott 2008, 17:31:06 »
Di Seguito l' index....

<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!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" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" />
<![endif]-->

</head>
<body class="body_bg">
<div class="bg">
<div id="wrapper">
   <div id="header_3">
      <div id="header_2">
         <div id="header_1">
            <div id="header">
               <div id="logo">
                  <a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?>[/url]
               </div>
            </div>

         </div>
      </div>
   </div>
   <div id="top_menu">   
      <table cellpadding="0" cellspacing="0" style="margin:0 auto;">
         <tr>
            <td>   
               <jdoc:include type="modules" name="user3" />
            </td>
         </tr>
      </table>
   <div class="clr"></div>   
   </div>
   <div class="content_b">
      <div id="content">
         <?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
         <div id="leftcolumn">   
            <jdoc:include type="modules" name="left" style="rounded" />
            <?php $sg = 'banner'; include "templates.php"; ?>
         </div>
         <?php endif; ?>
         
            <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>         
            <div id="main">
            <?php else: ?>
            <div id="main_full">
            <?php endif; ?>
               <div class="nopad">            
                  <jdoc:include type="message" />
                  <?php if($this->params->get('showComponent')) : ?>
                     <jdoc:include type="component" />
                  <?php endif; ?>
               </div>
            </div>
            
         <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>   
         <div id="search">
            <table cellspacing="0" cellpadding="0">
               <tr>
                  <td>
            <jdoc:include type="modules" name="user4" />
                  </td>
               </tr>
            </table>
         <div class="clr"></div>   
         </div>   
            <div id="rightcolumn" style="float:right;">
               <jdoc:include type="modules" name="right" style="rounded" />                        
            </div>               
         <?php endif; ?>
            <div class="clr"></div>
            <jdoc:include type="modules" name="debug" />         
         </div>
      </div>
      <div class="clr"></div>      
   </div>
<div id="footer">
   <p class="copyright"><? $sg = ''; include "templates.php"; ?></p>
</div>

</div>
</div>
            
<jdoc:include type="modules" name="debug" />      
</body>
</html>

SteveTW

  • Visitatore
Re: Testo Sito allineamento solo sinistra
« Risposta #3 il: 20 Ott 2008, 22:32:45 »
anche il suo css servirebbe..... le funzioni float si inseriscono li.

Offline fescenniumc5

  • Nuovo arrivato
  • *
  • Post: 3
    • Mostra profilo
Template.CSS
« Risposta #4 il: 21 Ott 2008, 11:10:06 »
body {
   width:100%;
   font-family: Tahoma, Arial, Verdana, sans-serif;
   margin: 0;
   padding: 0;
   font-size: 12px;
   background: #869699;
   text-align: center;
}
.clr {
   clear: both;
   font-size:0;
   line-height:0;
}

.body_bg {
   background: #869699 url(../images/bg2.jpg) top left repeat-x;
}
.bg{
   background: #869699 url(../images/bg.jpg) top left repeat-x;
}
#wrapper{
   margin:0 auto;
   width:960px;
}
#header{
   background: transparent url(../images/header.jpg) top center no-repeat;
   height:260px;
}
#header_1{
   background: transparent url(../images/header_1.jpg) top center no-repeat;
   height:260px;
}
#header_2{
   background: transparent url(../images/header_2.jpg) top center no-repeat;
   height:260px;
}
#header_3{
   background: transparent url(../images/header_3.jpg) top center no-repeat;
   height:260px;
}

#logo{
   width:960px;
   padding:15px 0 0 0;
   margin:0 auto;
   text-align:center;
}

#logo a, #logo a:link, #logo a:hover{
   font-size:14px;
   font-family:Tahoma;
   font-weight:bold;
   text-align:center;
   letter-spacing:1px;
   color:#fff;
   padding:0 0 0 20px;
   margin:0;
   text-decoration:none;
}
/*** Start Search ***/
#search  {
   background: transparent url(../images/search_bg.jpg) top left no-repeat;
   float:right;
   height: 47px;
   padding:10px 0 0 0;
   margin:0 0 0px 0;
   width:201px;
}
#search .search {
   padding:0 10px 0 0;
   float:left;
   margin:0;
}
#search form .search {
   margin:0 auto;
   padding:0;
}
#search table{
   margin:0 auto;
   padding:0;
}
#search .search .inputbox {
   float:left;
   font-size: 12px;
   text-transform:capitalize;
   font-family: Tahoma, Arial, sans-serif;
   color: #fff;
   border: 0;
   padding: 7px 0 6px 10px;
   margin:0;
   height:15px;
   line-height:15px;
   width:113px;
   background: url(../images/search.jpg) top right no-repeat;
}
#search .search .button {
   background: transparent url(../images/search_button.jpg) top right no-repeat;
   width:57px;
   height: 27px;
   line-height:25px;
   margin:0 0 0 2px;
   padding:0 8px;
   border:none;
   cursor:pointer;
   color:#fff;
   font-weight:normal;
   font-size: 12px;
   font-family: Tahoma, Arial, sans-serif;
   float:left;
}


#mod_login_remember {
   border:none;
}
/*** End Search ***/

#top_menu{
   background: url(../images/top_menu1.jpg) top left no-repeat;
   height:33px;
   line-height:45;
   width:960px;
   padding:12px 0;
   margin:0 auto 17px auto;
}

#mainlevel-nav {
   margin:0;
   height:31px;
   padding:0;
}

#top_menu ul#mainlevel-nav {
   margin: 0 auto;
   padding: 0;
   list-style: none;
}

#top_menu ul#mainlevel-nav li{
   background: transparent url(../images/but_r.jpg) center right no-repeat;
   float: left;
   margin: 0 5px;
   padding: 0;
}

#top_menu ul#mainlevel-nav li a, #top_menu ul#mainlevel-nav li a:visited{
   background: transparent url(../images/but_l.jpg) center left no-repeat;
   font-family: Tahoma, Verdana, sans-serif;
   font-size: 11px;
   float: left;
   display: block;
   color: #fff;
   text-decoration: none;
   font-weight: bold;
   height: 31px;
   line-height: 31px;
   padding: 0 10px;
   margin: 0;
   cursor: pointer;
}



#top_menu ul#mainlevel-nav li a:hover{
   background: transparent url(../images/but_l.jpg) center left no-repeat;
   color: #fff;
   text-decoration: underline;
   height: 31px;
}
div.pathway {
   margin: 0;
   padding: 0;
   height: 32px;
   width:960px;
   text-align:left;
   background: #fef9dd url(../images/pathway.jpg) top left no-repeat;
}
div.pathway span {
   padding: 0 10px;
   color: #e9ded5;
   line-height: 32px;
   font-size: 11px;
   text-align:left;
   font-family:Tahoma, Arial, sans-serif;
}
div.pathway td {
   vertical-align:middle;
   height:32px;
}

div.pathway span a:link, div.pathway span a:visited  {
   color: #e9ded5;
}

#news{
   background:#fef9dd;
   width:960px;
   height:175px;
   margin:0 0 10px 0;
   padding:0;
}

.latest_news {
   float: left;
   background:#fef9dd;
   height:160px;
   overflow:hidden;
   padding:0 0 0 5px;
}
.latest_news ul{
   float:left;
   background:transparent url(../images/news_separator.jpg) center right no-repeat;
   margin:0;
   padding:2px 0 0 20px;
   text-align:left;
   width:200px;
   height:160px;
}

.latest_news h3{
   font-family: Tahoma, Arial, sans-serif;
   color: #9C7338;
   font-size: 14px;
   margin:0;
   padding:10px 0 0 20px;
   color:#9c7338;
   text-align:left;
}

.latest_news ul li, .popular ul li{
   list-style-image: url(../images/li1.jpg);
   padding:0;
   margin:0 0 0 13px;
   width:160px;
}

.latest_news ul li a, .popular ul li a{
   line-height:18px;
   color:#9c7338;
}
.latest_news ul li a:link, .latest_news ul li a:visited , .popular ul li a:link, .popular ul li a:visited{
   font-size:11px;
   text-decoration:none;
   font-weight: normal;
   color: #9c7338;
   outline: none;
}
.latest_news ul li a:hover, .latest_news ul li a.current, .popular ul li a:hover, .popular ul li a.current{
   font-size:11px;
   text-decoration:underline;
   font-weight: normal;
   color: #9c7338;
   outline: none;
}
.popular {
   float: left;
   background:#fef9dd;
   height:160px;
   overflow:hidden;
   padding:0 0 0 5px;
}
.popular ul{
   float:left;
   margin:0;
   padding:2px 0 0 0;
   text-align:left;
   height:120px;
   width:210px;
   background:transparent url(../images/news_separator.jpg) center right no-repeat;
}

.popular h3 {
   font-family: Tahoma, Arial, sans-serif;
   color: #9C7338;
   font-size: 14px;
   margin:0;
   padding:10px 0 0 0;
   color:#9c7338;
   text-align:left;
}

#news_flash {
   background:#fef9dd;
   float:left;
   width:500px;
   height:165px;
   padding:10px 10px 0 5px;
   margin: 0;
   overflow:hidden;
}
#news_flash .module div div div h3{
   font-family: Tahoma, Arial, sans-serif;
   color: #9C7338;
   font-size: 14px;
   text-decoration: none;
   text-align: left;
   padding: 0;
   font-weight: bold;
   margin: 0;
}
#news_flash table.contentpaneopen  {
   padding:0;
}
#news_flash table.contentpaneopen td {
   color:#9c7338;
   padding:0;
   margin:0;
   font-size: 11px;
   text-align:justify;
   font-family:Tahoma, Arial, sans-serif;
}

#content {
   width:940px;
   margin:0 auto;
   padding:10px;
   background: transparent url(../images/content_top.jpg) top center no-repeat;
}

.content_b{
   background: #fff url(../images/content_bottom.jpg) bottom center no-repeat;
}

#leftcolumn, #rightcolumn  {
   float: left;
   margin: 0;
   padding: 0;
   width: 201px;
   text-align: center;
}
#leftcolumn div.module_menu, #rightcolumn div.module_menu, #leftcolumn div.module, #rightcolumn div.module {
   margin:0px;
   padding:0 0 10px 0;
   text-align:center;
   width:201px;
}

#leftcolumn div.module_menu div, #rightcolumn div.module_menu div, #leftcolumn div.module div, #rightcolumn div.module div, #leftcolumn div.module_text div , #rightcolumn div.module_text div{
   background: transparent url(../images/l_r_col_middle.jpg) center center repeat-y;
   padding:0;
   margin:0;
}
#leftcolumn div.module_menu div div, #rightcolumn div.module_menu div div, #leftcolumn div.module div div, #rightcolumn div.module div div, #leftcolumn div.module_text div div, #rightcolumn div.module_text div div{
   background: transparent url(../images/l_r_bottom.jpg) bottom center no-repeat;
   padding:0 0 10px 0;
   margin:0;
}
#leftcolumn div.module_menu div div div, #rightcolumn div.module_menu div div div, #leftcolumn div.module div div div, #rightcolumn div.module div div div, #leftcolumn div.module_text div div div, #rightcolumn div.module_text div div div {
   background: url(../images/l_r_top1.jpg) top center no-repeat;
   padding:0;
   margin:0;
}
#leftcolumn .module_menu div div div h3, #rightcolumn .module_menu div div div h3, #leftcolumn .module div div div h3, #rightcolumn .module div div div h3, #leftcolumn .module_text div div div h3, #rightcolumn .module_text div div div h3 {
   background: url(../images/h3.jpg) top center no-repeat;
   font-size:12px;
   font-family:Verdana, Tahoma, sans-serif;
   font-weight:bold;
   text-align:left;
   height:35px;
   line-height:30px;
   margin:0 auto;
   padding:0 0 0 40px;
   color:#fff;
}

#leftcolumn div.module_menu div div div div, #rightcolumn div.module_menu div div div div, #leftcolumn div.module div div div div, #rightcolumn div.module div div div div, #leftcolumn div.module_text div div div div, #rightcolumn div.module_text div div div div{
   background: #ecf4e0;
   padding:0;
   margin:0 auto;
   width:180px;
}

#leftcolumn table, #rightcolumn table{
   width:180px;
   margin:0 auto 0 auto;
   padding:0;
}
#leftcolumn table td{
   color:#000000;
   font-size:12px;
   font-family: Tahoma, Verdana, sans-serif;
   padding: 0;

}
#leftcolumn div.module form table{ /* modula za registracia */
   padding:0;
   text-align:left;
   margin:0 auto;
   font-size:12px;
   font-family:Tahoma, Verdana, sans-serif;
   color:#000000;
}
#leftcolumn div.module form { /* modula za registracia */
   padding:6px;
   text-align:left;
   margin:0 auto;
   font-size:12px;
   font-family:Tahoma, Verdana, sans-serif;
   color:#000000;
   width:170px;
}
div.module div div div form#form-login {
   margin:0 auto;
}

#mod_templatechooser_jos_change_template{
   float:left;
   font-size:11px;
}

#leftcolumn .module_menu div div div div{  /** menuto v liava kolona**/
    text-align:left;
}
#leftcolumn ul.menu{
   text-align:left;
   padding:2px 0 0 10px;
}
#leftcolumn ul.menu li{ /* razstoianieto m/u linkovete v menuto v leftcol*/
   line-height:22px;
   padding:0;
}


/*  LEFTCOLUMN linkove   */
#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,
#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {
   padding: 0 0 0 20px;
   text-decoration: none;
   font-size: 12px;
   background: url(../images/arrow.jpg) center left no-repeat;
   margin: 0;
   height: 22px;
   line-height: 22px;
   color: #000000;
   font-weight: normal;
}

#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
   color: #000000;
   text-decoration: underline;
}

/*  CURRENT LINKS  */
#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link,
#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {
   padding: 0 0 0 20px;
   text-decoration: underline;
   color: #000000;
   font-weight: normal;
   font-size: 12px;
   background: url(../images/arrow.jpg) center left no-repeat;
   margin: 0;
   height: 22px;
   line-height: 22px;
}

#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {
   color: #000000;
   text-decoration: underline;
}

/*  SUB MENU LINKS  */
#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link {
   text-decoration: none;
   color: #000000;
   margin: 0 0 0 15px;
   font-size: 12px;
   background: url(../images/arrow.jpg) center left no-repeat;
   font-weight: normal;
   display: block;
   padding: 0 0 0 20px;
   border: none;
   height: 22px;
   line-height: 22px;
}

#leftcolumn ul.menu li ul li#current a, #leftcolumn ul.menu li ul li#current a:link, #leftcolumn ul.menu li ul li#current a:visited, #leftcolumn ul.menu li ul li#current a:hover {
   font-size: 12px;
   margin: 0 0 0 15px;
   padding: 0 0 0 20px;
   text-decoration:underline;
   border: none;
   color: #000000;
   background: url(../images/arrow.jpg) center left no-repeat;
   height: 22px;
   line-height: 22px;
}
/*  SUBMENU POSITION   */

#leftcolumn ul.menu li#current ul {
   margin: 0;
   padding: 0;
}

#leftcolumn ul.menu li#current ul li {
   margin: 0;
   padding: 0;
}

/*   CURRENT SUBMENU POSITION   */
#leftcolumn ul.menu li ul {
   margin: 0;
   padding: 0;
}

#leftcolumn ul.menu li.parent ul li a {
   text-decoration: none;
   color: #000000;
   margin: 0 0 0 15px;
   font-size: 12px;
   background: url(../images/arrow.jpg) center left no-repeat;
   font-weight: normal;
   display: block;
   line-height: 12px;
   padding: 0 0 0 18px;
   border: none;
   height: 22px;
}

#leftcolumn ul.menu li#current ul li a:hover {
   color: #000000;
}

/*   END LINKS   */

#main {
   float: left;
   width: 518px;
   padding:0;
   font-size:12px;
   margin:10px;
}
div#main{
   text-align:left;
}
#main_full{
   float: left;
   width: 718px;
   padding:10px;
   font-size:12px;
   text-align:left;
}
#leftcolumn div.module div div div div div{  /** syndicate **/
    text-align:center;
   background:#f1e6c4;
   padding:0;
   margin:0 auto;
}

.module .syndicate{
   margin:0 auto;
   width:180px;
   text-align: center;
   padding:10px 0 0 0;
   background:#f1e6c4;
}

.module .syndicate div {
   padding:0;
   margin:0 auto;
   text-align:center;   
   background:#f1e6c4;
}

td {
   font-family: Verdana, Arial, Tahoma, sans-serif;
   color: #333;
}
.contentpaneopen table td{
   text-align:left;
}
.text{
   text-align:left;
   padding:0 0 0 10px;
   font-family: Verdana, Arial, Tahoma, sans-serif;
   font-size:11px;
   line-height: 12px;
}
div div div form{
   margin:0 auto;
   text-align:left;
   padding:0;
}

ul {
   margin: 0;
   padding: 0;
   list-style: none;
   list-style-position:outside;
}

li{
   line-height:20px;
   padding-left: 0;
   padding-top: 0;
}

/**  Linkove  **/
a {
   outline: none;
}
a:link, a:visited {
   text-decoration: underline;
   font-weight: normal;
   color: #000000;
   font-size:12px;
}
a:hover {
   text-decoration: none;
   font-weight: normal;
   color: #000000;
}

.module div div div form table.poll {
   text-align:center;
}
.poll {
   font-size:11px;
   text-align:left;
}
.poll table td{
   font-size:11px;
   text-align:left;
   padding:5px 0 0 0;
}
div.module table.poll {
   width: 170px;
   margin:0 atuo;
}

body.contentpane {
   background: #fef9dd;
   text-align: left;
}

body.contentpane .contentpaneopen {
   width: 100%;
}

body.contentpane .contentpaneopen .contentheading {

}
h2, .contentheading{
   text-align:left;
}

.moduletable {
   margin: 0 auto;
}
select.button {
   width: auto;
   padding: 0;
}

.pagenav_prev, .pagenav_next {
   font-family: Verdana, Arial, Tahoma, sans-serif;
   color: #333;
   font-size: 12px;
}

p {
   margin-top: 0;
   margin-bottom: 5px;
   text-align: justify;
}
#leftcolumn p{
   margin-bottom: 0;
}
table.contentpaneopen td.contentheading {
   padding: 0;
   font-family: Tahoma, Arial, Verdana, sans-serif;
   font-size: 12px;
   vertical-align: middle;
   color: #000000;
   text-align: left;
   font-weight: bold;
}
table.contentpane ul{
   margin : 0;
   padding : 0 0 0 20px;
}
table.contentpane ul li, div.nopad ul{
   list-style-image: url(../images/li.jpg);
   line-height:18px;
   padding:0 0 0 10px;
}

.button {
   background:#82AC40;
   border: none;
   color: #fff;
   font-size: 11px;
   cursor:pointer;
   font-family: Tahoma, Arial, sans-serif;
}
#form-login .button{
   float:left;
   margin:5px 0 5px 0;
}

input.button, .validate{
   padding:3px 4px;
}
input[type="checkbox"], input[type="radio"]{
   border:none;
}
#searchphraseany, #searchphraseall, #searchphraseexact{
   border:none;
}
input{
   border: 1px solid #000000;
}

#contact_text{
   border: 1px solid #000000;
}
.copyright {
   font-size: 12px;
   text-align: center;
   width: 100%;
   margin: 0 auto;
   color: #fff;
   font-family: Tahoma, Arial, Verdana, sans-serif;
}

.back_button {
   float: left;
   text-align: center;
   font-size: 11px;
   font-weight: normal;
   width: auto;
   padding: 0px 10px;
   line-height: 20px;
   margin: 10px 0 50px 0;
}

.componentheading {
   margin: 0;
   font-family: Verdana, Arial, Tahoma, sans-serif;
   font-size: 14px;
   text-align: left;
   color: #9c7338;
   padding: 0 0 0 10px;
   font-weight:bold;
}
element.style{
   margin:10px;
   padding:0;
}

#footer {
   margin: 0 auto;
   width: 940px;
   height: 20px;
   text-align: right;
   vertical-align: top;
   padding:10px 0 20px 0;
}

a.sgfooter:link, a.sgfooter:visited {
   color: #fff;
   font-size: 11px;
   font-family: Verdana, Arial, Tahoma;
   text-decoration: none;
}
a.sgfooter:hover {
   color: #fff;
   font-family:  Verdana, Arial, Tahoma;
   text-decoration: none;
}

.sgf {
   font-size: 12px;
   font-family: Tahoma, Arial, Verdana, sans-serif;
   color: #000000;
   text-decoration: none;
}
.sgf1 {
   font-size: 12px;
   font-family: Tahoma, Arial, Verdana, sans-serif;
   color: #000000;
   text-align: center;
}

a.sglink:link, a.sglink:visited {
   color: #FFF;
   font-size: 11px;
   font-family: Verdana, Arial, Tahoma, sans-serif;
   text-decoration: none;
}
a.sglink:hover {
   text-decoration: none;
}
img, table{
   border:none
}
a img {
   border: none;
}

.pagenav {
   font-size:12px;
   font-weight:normal;
}

a.toclink:link, a.toclink:visited {
   line-height:normal;
   font-size:11px;
   font-family: Verdana, Arial, Tahoma, sans-serif;
   color: #000000;
   text-decoration: underline;
}
a.toclink:hover {
   text-decoration: none;
}
table.contenttoc {
   padding: 4px;
   margin-left: 4px;
   margin-bottom: 2px;
}

table.contenttoc th {
   color: #333;
   text-align: left;
   padding-top: 2px;
   padding-left: 4px;
   height: 21px;
   font-weight: normal;
   font-size: 11px;
   text-transform: uppercase;
}
.sectiontableheader {
   height: 20px;
   padding-right:3px;
   font-weight :normal;
}
.sectiontableentry2, .sectiontableentry1 {
   font-size: 11px;
   text-align:left;
   padding:2px;
}

.sectiontableentry1 {

}

.sectiontableentry2 {

}

table.contentpane {
   padding: 0 0 0 10px;
}

table.contentpane td.contentdescription {
   font-size:12px;
   line-height:18px;
   padding: 0 0 0 10px;
}

table.contentpane td.componentheading {
   height: 20px;
   padding: 0 0 3px 0;
   color: #555;
   text-align: left;
   padding-bottom:3px;
   white-space: nowrap;
   font-family: Verdana, Arial, Tahoma, sans-serif;
   font-size: 14px;
   font-weight: normal;
}

table.contentpaneopen td {
   padding:0;
   line-height: 14px;
   font-size:12px;
   text-align:left;
}

.height {
   height: 100%;
}

.small {
   font-size: 10px;
   color: #000000;
   font-weight: normal;
   text-align: left;
}
.searchintro{
   font-size:12px;
   text-align:left;
}

table.contentpaneopen  td.createdate {
   height: 20px;
   vertical-align: top;
   font-size: 10px;
   color: #000000;
   font-weight: normal;
   padding-top: 0px;
   text-align:left;
}
table.contentpaneopen td.modifydate {
   height: 20px;
   vertical-align: top;
   font-size: 10px;
   color: #000000;
   font-weight: normal;
   padding-top: 0px;
   text-align:right;
}

/** Data **/
.modifydate {
   height: 20px;
   vertical-align: bottom;
   font-size: 9px;
   color: #000000;
   font-weight: normal;
   text-align: right;
}

table.contentpaneopen td a.readon{
   display: block;
   float: right;
   line-height: 14px;
   font-size: 10px;
   text-decoration: underline;
   padding: 1px 2px 1px 2px;
}

table.contentpaneopen td a.readon:hover{
   color: #000000;
   text-decoration: none;
}

.blog_more {
   margin: 2px 8px;
   font-size:12px;
   font-weight:bold;
   text-align:left;
}

h4 {
   font-size: 10px;
   text-transform: uppercase;
}

.inputbox, #email {
   border: 1px solid #000000;
}
#modlgn_remember  {
   border:0;
}
#form-login-remember{
   text-align:left;
}
#modlgn_username, #modlgn_passwd{
   width:124px;
}

div#timedate {
   font-size: 12px;
   font-weight: bold;
   color: #AB4C37;
   text-align: center;
   padding: 0 0 10px 0;   
}

div.bannergroup_text {
   text-align:left;
   padding:0;
}

div.nopad {
   overflow: hidden;
   padding: 0;

}
div.nopad form#jForm p, div.nopad form#jForm  div#navigation {
   padding: 5px 0 0 10px;
}
div.nopad ul {
   clear: both;
   padding:0 0 0 18px;
}

td.middle_pad {
   width: 20px;
}



/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
   background: #fffebb;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
   font-size: 1.2em;
   padding: 5px;
}

/* headers */
div.componentheading {
   height: 22px;
   padding: 0;
   font-size:14px;
   font-family:Tahoma,Arial,Verdana,sans-serif;
   color:#000000;
   font-weight:normal;
}

h1 {
   padding: 0;
   font-family: Tahoma, Arial, sans-serif;
   font-size: 1.3em;
   font-weight: bold;
   vertical-align: bottom;
   color: #333;
   text-align: left;
   width: 100%;
}

h2, .contentheading {
   padding: 0;
   font-family: Tahoma, Arial, sans-serif;
   font-size: 14px;
   vertical-align: middle;
   color: #a8804d;
   text-align: left;
   font-weight: bold;
   margin-bottom:0;
}

table.contentpaneopen h3 {
   margin-top: 25px;
}

h4 {
   font-family: Tahoma, Arial, sans-serif;
   color: #333;
}

h3, .componentheading, table.moduletable th, legend {
   margin: 0;
   font-family: Tahoma, Arial, sans-serif;
   font-size: 14px;
   text-align: left;
   color: #000000;
   padding: 0;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
   background-color: #f1f1f1;
   color: #333;
}

.ol-background {
   background-color: #f1f1f1;
   color: #333;
}

.ol-textfont {
   font-family: Tahoma, Arial, sans-serif;
   font-size: 10px;
}

.ol-captionfont {
   font-family: Tahoma, Arial, sans-serif;
   font-size: 12px;
   color: #f6f6f6;
   font-weight: bold;
}
.ol-captionfont a {
   background-color: #f1f1f1;
   color: #333;
   text-decoration: none;
   font-size: 12px;
}

.ol-closefont {}

/* spacers */
span.article_separator {
   display: block;
   height: 20px;
}

td.buttonheading {
   text-align: right;
   width: 0;
}

table.blog span.article_separator {
   display: block;
   height: 20px;
}


/* table of contents */

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-bottom: 1px solid #666;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
  color: #333;
  font-size: 10px;
}


/* content styles */
.contentpaneopen, table.contentpane {
   margin: 0;
   padding: 0;
}

table.contentpane td{
   text-align: left;
}

table.contentpane td.contentdescription {
   width: 710px;
}

table.contentpane  {
   text-align: left;
   width: 690px;
   margin: 0 0 0 10px;
   padding:10px;
}

table.contentpane ul li a .category {
   color: #FF8800;
}

table.contentpane ul li {
   color: #333;
   padding:0;
}

table.contentpaneopen {
   margin: 0 3px;
}

table.contentpaneopen li {
   margin-bottom: 5px;
}

table.contentpaneopen fieldset {
   border: 0;
   border-top: 1px solid #000000;
}


table.contentpaneopen h4 {
   font-family: Tahoma, Arial, sans-serif;
   color: #000000;
}

.highlight {
   background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
   margin-bottom: 0px;
}
#banner{
   padding:10px 0 0 0;

}
.bannerheader {
   padding: 0;
}

table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

form#form-login fieldset {
   border: 0 none;
   margin: 0;
   padding: 0;
}
form#form-login ul li{
   text-align:left;
   padding: 0;
   line-height:14px;
}

form#form-login ul li a {
   text-align: left;
   padding: 0;
   font-size: 10px;
}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #333; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #333; text-align: center; }

/* Parameter Table */
table.paramlist {
   margin-top: 5px;
}

table.paramlist td.paramlist_key {
   width: 128px;
   text-align: left;
   height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
   font-family: Tahoma, Arial, sans-serif;
   font-weight: bold;
   font-size : 14px;
   color : #c30;
   text-align: center;
   width: auto;
   background-color: #f9f9f9;
   border: solid 1px #d5d5d5;
   margin: 3px 0px 10px;
   padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
}

.banneritem {
}

/* Text advert style */

.banneritem_text {
   padding: 4px 8px;
   font-size: 11px;
}

.bannerfooter_text {
   padding: 8px 20px;
   font-size: 11px;
   text-align: right;
}

/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
   text-align: left;
}

/* Frontend Editing*/
fieldset {
   border: 1px solid #ccc;
   margin-top: 15px;
   padding: 15px;
}

legend {
   margin: 0;
   padding: 0 10px;
}

td.key {
   border-bottom:1px solid #eee;
   color: #333;
}

/* Tooltips */
.tool-tip {
   float: left;
   background: #ffc;
   border: 1px solid #D4D5AA;
   padding: 5px;
   max-width: 200px;
}

.tool-title {
   padding: 0;
   margin: 0;
   font-size: 100%;
   font-weight: bold;
   margin-top: -15px;
   padding-top: 15px;
   padding-bottom: 5px;
   background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
   font-size: 100%;
   margin: 0;
}

/* System Standard Messages */
/* System Error Messages */
#system-message dd.error ul {
     color: #999;
     background: none;
     border-top: 1px solid #829300;
     border-bottom: 1px solid #829300;
     padding: 0;
     margin: 0;
    list-style: none;
}

/* System Notice Messages */
#system-message dd.notice ul {
     color: #ECA5A7;
     background: none;
     border-top: 1px solid #829300;
     border-bottom: 1px solid #829300;
     padding: 3px;
     margin: 0 0 5px 0;
    list-style-image: none;
}

#system-message dd {
     text-indent: 0;
}

#system-message dd ul {
     list-style: none;
     color: #f00;
     background: none;
     border-top: 1px solid #829300;
     border-bottom: 1px solid #829300;
    list-style-image: none;
}

#system-message {
     margin: 5px auto;
    text-align: center;
    width: 98%;
}

SteveTW

  • Visitatore
Re: Testo Sito allineamento solo sinistra
« Risposta #5 il: 21 Ott 2008, 11:37:40 »
nel tuo file css prova, all'ID "content", ad inserire una stringa con display: block;.... oppure con il float..... e poi caricalo (pulisci la cache del browser) e prova.......

Solitamente succede per quei motivi....

Offline tonicopi

  • Global Moderator
  • Instancabile
  • ********
  • Post: 12790
  • Sesso: Maschio
    • Mostra profilo
Re: Testo Sito allineamento solo sinistra
« Risposta #6 il: 21 Ott 2008, 16:00:40 »
Il mio problema però è che sia il Testo dei documenti che quello scritto nelle tabelle non fà lallineamento centrale ma solo a Sinistra mentre con altri template funziona correttamente.
Non sono riuscito però a capire cosa devo andare a modificare per corregere l' errore.
Per me non è un errore. Il testo e gli altri oggetti nel corpo centrale sono correttamente allineati a sinistra :)
joomlacsszengarden.com = il giardino dei css di Joomla!
L'attesa del piacere è essa stessa... piacere!

SteveTW

  • Visitatore
Re: Testo Sito allineamento solo sinistra
« Risposta #7 il: 21 Ott 2008, 20:08:20 »
... penso si riferisse al testo che inserisce nel body centrale.... è capitato spesso anche a me con template "fatti in casa", anche se centravo il testo, restava a sinistra e penso sia quello che descrive

 



Web Design Bolzano Kreatif