Forum Moderators: not2easy
color1text, color2text, color3text and color4text are not defined so this: text-align: center; <span class= "color1text">
<a href="../example.html" title="example">
<img alt="example" src="../example" title=" example"></a><br>text1
</span> within its own div tag with a class to set the properties you want it to have. Using float is never simple.It would be perfectly simple if people would only stop misusing it by trying to float two elements next to each other, as if it were synonymous with {display: inline-block} *. It's perfectly straightforward so long as you recognize that floating is a one-way hierarchical relationship of A to B, not reciprocal between A and B.