I have a <div>
that creates a box where I should print a PHP string from a database, but when the string is too large, instead of performing the line break the string would be "leaked" out of the box:
Iwouldlikeabreakinthelinetooccurinthesecases.boxescannotexpandtothesideaccordingtothelengthofthestring,onlydown
CSS:
.box{width:300px;height:100px;background-color:#4682B4;border-radius:10px;float:left;margin-right:30px;}.impo2{font-family:arial;color:white;}.ult2{color:white;font-family:Verdana;font-size:large;}
PHP:
<?php$aaa="hahahahaaoidhfajdhgajhgafdhgafjhgfjhadfkgafhjakjgkjdfhgajdfhgadkfjhgakfdjhgakdkajfhgakdjhgadfkjhgjafkjhdfgkjakjfdhgkadjfhgadjkhgkajhfgkjdhfgkjahfdgkajhfdg";
?>
HTML:
<div class="box"><center><a class="ult2"><br>Servidores com maiores erros: </a><a class="impo2"><?php echo $aaa; ?></a></center></div>