Forums

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

Home Forums CSS Display two things in the same line Reply To: Display two things in the same line

#234741
Beverleyh
Participant

There isn’t much for us to work with – the image bears no resemblance to the CodePen demo. You need to make it easier for us to help you.

Try putting in some HTML markup to illustrate the outlined box on the left and list of icons/text on the right.

Also include enough CSS to recreate/mockup the image layout.

The JS isn’t doing anything here so try extracting the outputted markup and put it into the appropriate place in the HTML pane instead.

if i set both divs to float:left;

Both divs? There’s only one in your CodePen.

the text goes messy and it pretty much breaks all the aspect

You should recreate this problem for us in the demo, otherwise we can’t help (we cant guess at what “goes messy” or “breaks all the aspect” means )