D
D
den-masonov2017-05-29 22:33:09
css
den-masonov, 2017-05-29 22:33:09

How to make padding between an image with float:left and the list markers next to it?

The image has padding, but it doesn't work:
a1e977e74fce4808909bc96641d3bcf2.png37cd4e5d01c9460882cf6833172fadf2.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Radkov, 2017-05-30
@paulradzkov

Once I wrote an article about this paulradzkov.com/2013/lists_and_floats
And the solution worked for several years. But a couple of weeks ago, a bug appeared in the new chrome and opera: until you resize the window, bullets stick to the left border of the container.
But there is also an "old" solution in the article, which had problems with bullet sizes in IE.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question