I need to break lines between php
tags using css
of figcaption
, since in html5
the <br>
tag is deprecated.
My code:
<figcaption>
<?php echo $tiporesultado; ?>
<?php echo $imovelpara; ?>
<?php echo "R$" . number_format($priceimovel, 2, ',', '.') ?>
</figcaption>
They said that clear:both
worked, but nothing.
figure.imoveisdestaquesguarapari figcaption{
clear: both;
}
But when I run it it stays on the same line, I need every php
tag to be displayed on one line. In my case, have 3 lines.