The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS float and wrapped text Reply To: float and wrapped text


You haven’t wrapped the ‘main’ text in any sort of text tag..which is just poor practice in my opinion.

If you don’t you can’t select it other than by selecting the parent.

If you do, you can give that element the required margin instead of padding on the parent.

Also, numbered ‘items’ like this are really the province of lists…any reason for not using one?