salve, sono nuovo sull'uso di questo bellissimo programma, solo che non riesco a modificare il contenuto degli articoli. cioè intendo dire che io vorrei che tutti i miei articoli scritti apparissero in linea come il primo.
invece dopo se ne inserisco altri quelli piu vecchi scalano ma vanno nelle 2 colonne sottostanti, sinistra e destra, io mi chiedevo se fosse possibile elimiarle.
codice CSS
body {
margin: 30px 30px;
padding: 0;
text-align: center;
color: #000000;
background-color: #800000;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
background-attachment: fixed;
}
p {
font-size: 11px;
padding: 0px;
margin: 0px;
font-family: Arial, Helvetica, sans-serif;
text-align:justify;
}
td, tr {
font-size: 11px;
text-align:justify;
}
#middle {
text-align:center;
}
#container {
margin: 0 auto;
border: 0px solid #000000;
text-align: left;
background: #FFFFFF;
border-top: none;
}
#sitename {
float: left;
padding-left: 10px;
color: #CCCCCC;
font-size: 18px;
line-height: 42px;
height: 42px;
}
#user4 {
float: right;
height: 34px;
width: 185px;
margin: 107px 2px 0px 4px;
vertical-align: middle;
}
#user4 input, #user4 .input, #user4 .inputbox {
background-image: url(../images/search.gif);
background-repeat: no-repeat;
background-position: 3px 3px;
border: 1px solid #666;
padding-left: 30px;
margin: 0;
height: 20px;
float: left;
background-color: #FFFFFF;
}
#banner {
background-color: #800000;
background-image: url(../images/banner.png);
}
#topmenu_out {
float: left;
overflow: hidden;
}
#topmenu {
color: #800000;
height: 80px;
margin-top: 8px;
line-height: 80px;
font-size: 12px;
float: left;
margin-left: -3px;
}
#topmenu ul, #topmenu li{
list-style-type: none;
padding: 0px;
margin: 0px;
display: inline;
}
#topmenu li{
float: left;
}
#topmenu a:link, #topmenu a:visited {
height: 80px;
line-height: 80px;
display: block;
float: left;
text-align: center;
color: #8B8B8B;
padding: 0px 30px;
background-image: url(../images/topmenu_bg.jpg);
background-repeat: no-repeat;
background-position: left;
font-size: 12px;
}
#topmenu a:hover{
text-decoration: none;
background-image: url(../images/topmenu_over.jpg);
background-repeat: repeat-x;
}
#maincontent {
background-image: url(../images/maincontent.jpg);
background-repeat: repeat-x;
}
#content_outmiddle, #content_outleft, #content_outright {
background-image: url(../images/content_bg.jpg);
background-repeat: repeat-x;
background-position: bottom;
border-left: 2px solid #E6E6E6;
border-right: 2px solid #E6E6E6;
border-bottom: 2px solid #E6E6E6;
background-color: #FFFFFF;
margin-bottom: 10px;
}
#left_outmiddle, #left_outleft, #left_outright {
width: 190px;
float: left;
background-image: url(../images/maincontent.jpg);
background-repeat: repeat-x;
}
#right_outmiddle, #right_outleft, #right_outright {
width: 200px;
float: right;
background-image: url(../images/maincontent.jpg);
background-repeat: repeat-x;
}
#left, #right {
margin: 0px 5px 5px 5px;
width: 190px;
}
#content_outmiddle {
margin: 0px 200px;
}
#content_outleft {
margin-left: 200px;
border-right: none;
}
#content_outright {
margin-right: 200px;
border-left: none;
}
#content {
padding: 5px 5px 10px 5px;
}
#bannermodul {
padding: 5px;
}
#pathway {
border-bottom: 1px solid #E6E6E6;
color: #666666;
font-size: 10px;
padding: 5px;
}
#pathway a {
color: #666;
}
#left_outmiddle h3, #left_outleft h3, #left_outright h3, #right_outmiddle h3, #right_outleft h3, #right_outright h3 {
background-image: url(../images/h3.jpg);
background-repeat: repeat-x;
color: #FFFFFF;
font-size: 15px;
line-height: 30px;
height: 30px;
text-align: left;
margin: 5px 0px;
text-indent: 10px;
font-weight: normal;
}
#user_out {
margin-top: 4px;
background-image: url(../images/user_out_bg.jpg);
border-top: 1px solid #CCC;
background-color: #E6E6E6;
background-repeat: repeat-x;
padding: 0 4px;
border-bottom: 1px solid #CCC;
}
#user_out .topmodule_user, #user_out .topmodule_user1, #user_out .topmodule_user2, #user_out .topmodule_user3 {
background-image: url(../images/box_bg.jpg);
background-repeat: repeat-x;
float: left;
}
#user_out .topmodule_user1 {
width: 100%;
}
#user_out .topmodule_user2 {
width: 49%;
}
#user_out .topmodule_user3 {
width: 32%;
}
#user_out .topmodule_inside {
margin: 4px;
overflow: hidden;
}
#user_out .moduletable, #user_out .moduletable td {
width: 100%;
}
#user_out .topmodule_user th,
#user_out .topmodule_user1 th,
#user_out .topmodule_user2 th,
#user_out .topmodule_user3 th,
#user_out .topmodule_user h3,
#user_out .topmodule_user1 h3,
#user_out .topmodule_user2 h3,
#user_out .topmodule_user3 h3,
#bannermodul th,
#bannermodul h3 {
height: 25px;
line-height: 25px;
color: #FFF;
font-size: 15px;
background-color: #8B8B8B;
padding: 0px 5px;
text-align: left;
font-weight: normal;
margin: 0;
}
#user_out .topmodule ul, .topmodule li {
margin: 0px;
padding: 0px;
}
.sep, .sep1, .sep2, .sep3 {
float: left;
background-image: url(../images/sep.jpg);
background-repeat: repeat-y;
background-position: center;
}
.sep1, .sep2, .sep3 {
width: 1%;
}
.sep2, .sep3 {
}
#bottom {
background-image: url(../images/bottom.jpg);
background-repeat: repeat-x;
text-align: left;
color: #8B8B8B;
border-top: 1px solid #FFF;
height: 50px;
line-height: 50px;
}
#copy {
float: left;
font-size: 11px;
padding-left: 10px;
width: 40%;
}
#othermenu {
float: right;
overflow: hidden;
font-size: 11px;
width: 50%;
}
#othermenu_in ul, #othermenu_in li {
list-style-type: none;
margin: 0;
padding: 0;
display: inline;
}
#othermenu_in {
margin-right: -2px;
float: right;
height: 50px;
line-height: 50px;
}
#othermenu_in a {
color: #8B8B8B;
border-right: 1px solid #8B8B8B;
padding: 0px 10px;
}
ul {
list-style-type: square;
}
.clear{
clear:both;
}
#left ul, #right ul, #left li, #right ul {
list-style-type: none;
padding: 0;
margin: 0;
}
#left a.mainlevel:link,
#left a.mainlevel:visited,
#right a.mainlevel:link,
#right a.mainlevel:visited,
#left .menu a:link,
#left .menu a:visited,
#left .menu a:active,
#right .menu a:link,
#right .menu a:visited,
#right .menu a:active {
border-left: 3px solid #0E8FB9;
height: 25px;
line-height: 25px;
display: block;
margin: 2px 0px;
color: #000000;
width: auto;
text-indent: 5px;
font-size: 12px;
}
#left a.mainlevel:hover,
#left #active_menu,
#right a.mainlevel:hover,
#right #active_menu,
#left .menu a:hover,
div.moduletable_menu ul.menu li#current a,
#right .menu a:hover,
div.moduletable_menu ul.menu li#current a {
background-color: #68B9D3;
text-decoration: none;
border-left: 3px solid #68B9D3;
color: #FFFFFF;
}
#left a.sublevel:link,
#left a.sublevel:visited,
#right a.sublevel:link,
#right a.sublevel:visited,
#left ul.menu ul a:link,
#left ul.menu ul a:visited,
#right ul.menu ul a:link,
#right ul.menu ul a:visited {
color: #666666;
height: 18px;
line-height: 18px;
padding-left: 14px;
background-image: url(../images/sublevel.png);
background-repeat: no-repeat;
background-position: left;
padding-right: 5px;
}
.contentheading {
color: #0E8FB9;
font-size: 24px;
}
.contentpane {
}
.contentpaneopen {
}
.contentdescription {
padding: 10px 0px;
}
.componentheading {
height: 26px;
line-height: 26px;
color: #FFFFFF;
font-size: 15px;
padding: 0px 5px;
background-color: #0E8FB9;
}
a:link, a:visited {
color: #8F0E0E;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.sectiontableheader {
padding: 3px 5px;
background-color: #666;
color: #FFFFFF;
font-size: 15px;
color: #FFFFFF;
}
.sectiontableentry1, .sectiontableentry2 {
background-image: url(../images/sectiontableentry.jpg);
background-repeat: repeat-x;
height: 26px;
line-height: 26px;
font-size: 12px;
text-indent: 5px;
background-position: bottom;
background-color: #FFFFFF;
}
.button {
background-image: url(../images/button.jpg);
color: #FFFFFF;
font-size: 15px;
border: 1px solid #9ABC57;
margin: 5px 0px;
background-color: #9ABC57;
padding: 2px 3px;
}
.button:hover, .button:focus {
border: 1px solid #9ABC57;
background: #9ABC57;
}
.input {
border: none;
padding: 0;
margin: 0;
}
.inputbox {
border: 2px solid #E0E0E0;
padding: 2px;
}
.small {
color: #8B8B8B;
font-size: 11px;
}
a.readon {
background-color: #EBEBED;
color: #8B8B8B;
font-size: 11px;
padding: 1px 3px;
}
a.readon:hover {
text-decoration: none;
background-color: #CCCCCC;
}
.back_button a {
background-color: #EBEBED;
color: #8B8B8B;
border: 1px solid #8B8B8B;
font-size: 12px;
padding: 2px 4px;
}
.back_button a:hover {
text-decoration: none;
background-color: #CCCCCC;
}
.createdate {
color: #8B8B8B;
font-size: 11px;
margin-bottom: 10px;
}
.search {
margin: 5px 0px;
padding: 2px;
}
img {
border: none;
padding: 0;
margin: 0;
}
codice HTML
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
$template_width = $this->params->get("templateWidth", "898px");
$banner_height = $this->params->get("bannerheight", "140");
$user123_height = $this->params->get("user123_height", "140");
?>
<!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 require("head_includes.php"); ?>
</head>
<body>
<div id="middle">
<div id="container">
<div id="header">
<div id="logoarea">
</div>
<div id="banner">
<div id="user4"><jdoc:include type="modules" name="user4" style="xhtml" /></div>
</div>
<div id="rightheader">
<div id="top">
</div>
<div id="topmenu_out">
<div id="topmenu"><jdoc:include type="modules" name="user3" style="xhtml" /></div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="maincontent">
<?php if($this->countModules('left')) : ?>
<div id="left_out<?php echo $contentwidth; ?>">
<div id="left"><jdoc:include type="modules" name="left" style="xhtml" /></div>
</div>
<?php endif; ?>
<?php if($this->countModules('right')) : ?>
<div id="right_out<?php echo $contentwidth; ?>">
<div id="right"><jdoc:include type="modules" name="right" style="xhtml" /></div>
</div>
<?php endif; ?>
<div id="content_out<?php echo $contentwidth; ?>">
<div id="pathway"><jdoc:include type="module" name="breadcrumbs" /></div>
<?php if($this->countModules('banner')) : ?>
<div id="bannermodul"><jdoc:include type="modules" name="banner" style="xhtml" /></div>
<?php endif; ?>
<div id="content">
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?></div>
</div>
</div>
<div class="clear"></div>
<?php if($this->countModules('user1') or $this->countModules('user2') or $this->countModules('user5')) : ?>
<div id="user_out">
<?php if($this->countModules('user1')) : ?>
<div class="topmodule_user<?php echo $userwidth; ?>">
<div class="topmodule_inside"><jdoc:include type="modules" name="user1" style="xhtml" /></div>
</div>
<?php endif; ?>
<?php if($this->countModules('user2')) : ?>
<div class="sep<?php echo $userwidth; ?>"></div>
<div class="topmodule_user<?php echo $userwidth; ?>">
<div class="topmodule_inside"><jdoc:include type="modules" name="user2" style="xhtml" /></div>
</div>
<?php endif; ?>
<?php if($this->countModules('user5')) : ?>
<div class="sep<?php echo $userwidth; ?>"></div>
<div class="topmodule_user<?php echo $userwidth; ?>">
<div class="topmodule_inside"><jdoc:include type="modules" name="user5" style="xhtml" /></div>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="clear"></div>
<div id="bottom">
<div id="copy">© 2008 <?php echo $mainframe->getCfg('sitename');?> | Template by <a href="http://www.vonfio.de" target="_blank">Joomla Templates</a></div>
<div id="othermenu">
<div id="othermenu_in"><jdoc:include type="modules" name="footer" style="xhtml" /></div>
</div>
</div>
</div>
</div>
</body>
</html>