View Single Post
Old 04-23-2018, 03:00 PM   #1
handycrowd
Member
handycrowd began at the beginning.
 
handycrowd's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2017
Location: Near the beach in Asker, Norway
Device: kindle 10gen
CSS to keep images left (and not nesting)

Anyone know the CSS to keep images to the left? I've got some small images which I'm using as a kind of bullet with text to the right. Problem is when there isn't enough text to push the next image over to the left. Then they nest properly, but it's not what I want.

This is the css I'm using....

Code:
img.check  {
float:left;
padding:.5em;
width: auto;
height: auto;
display: block;
}
See screenshots below for examples...
This is what I don't want....

I want it to look like this, even for the images with only a line or two of text...


Ta muchly to anyone who can spare me a minute :-)
Cheers
Ian
handycrowd is offline   Reply With Quote