Forums

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

Home Forums CSS floated span in a div – text not flowing around it, forcing a new line instead. Reply To: floated span in a div – text not flowing around it, forcing a new line instead.

#238154
bearhead
Participant

This is how I would do it:
http://codepen.io/kvana/pen/xZNRyK

try adding text to the paragraph to see how the price will stay with the last line of the paragraph

it will require you to wrap the p in a div, and then make the span a sibling of the p instead of a child of it.