The s and the
within the
are block elements. You should place
display:inline
on those
s and
.
Also, any HTML in the $description
variable that are block-level elements are going to cause the same behavior.
EDIT: You have much bigger problems on your site that are causing the issue.
You are repeating your
code over and over again, each with a
and one
item in it. Firstly, you cannot have more than on container with the same, unique ID on it. Second, those s are block elements, thus why they are not displaying inline.
You need to set up your structure to look more like this:
Not the way you have it, then your style should work fine.