Cavolo, ma ora nemmeno va bene... Eppure non ho settato nessun margin in particolare:
codice:
.rounded:before {
background: transparent url(../blocchi/topReviews/images/top-right.png) scroll no-repeat top right;
margin-bottom: -20px;
height: 30px;
display: block;
border: none;
content: url(../blocchi/topReviews/images/top-left.png);
padding: 0;
line-height: 0.1;
font-size: 1px;
}
.rounded:after {
display: block;
line-height: 0.1;
font-size: 1px;
content: url(../blocchi/topReviews/images/bottom-left.png);
margin: 0 0 -1px 0;
height: 30px;
background: white;
background: transparent url(../blocchi/topReviews/images/bottom-right.png) scroll no-repeat bottom right ;
padding: 0;
}
blockquote {
background: #EEEEEE;;
color: white;
margin-right: -1px;
width:50%;
}
.rounded * {
padding-left: 0px;
padding-right: 0px;
}
.rounded {
margin-left:0;
padding: 0;
}
.titolo{
font-style:italic;
color: #000000;
text-align: center;
display: inline;
}
.titolo a{
text-decoration: none;
font: bold 80%;
}
.descrizione{
color:#000000;
float: left;
width: 25px;
}
.data{
color: #000000;
}
.image{
float:left;
width:25%;
}
Codice PHP:
<blockquote class="rounded">
<?php
//Seleziono tutti i dati della recensione
$query = "SELECT titolo, descrizione, autore, data, image FROM portal_reviews ORDER BY id DESC LIMIT 0,1";
$result = mysql_query($query, $db);
$row = mysql_fetch_array($result);
$link = str_replace( " ", "-", $row[titolo] );
$link = $link .".php";
?>
<blockquote class="titolo">[url="reviews/<?php echo "]" title="<?php echo "$row[title]" ?>"> <?php echo "$row[titolo]"; ?> [/url]</blockquote>
<blockquote class="image">[img]<?php echo [/img]" alt="<?php echo "$row[titolo]"; ?>"/></blockquote>
<blockquote class="descrizione"><?php echo "$row[descrizione]"; ?></blockquote>
<blockquote class="data"><?php echo date("j/n/y", $row[data]); ?></blockquote>
</blockquote>
Risultato:
Ho visto più volte il codice, ma non riesco a capire dov'è che sbaglio....