K
K
KVS172013-11-27 08:05:57
WordPress
KVS17, 2013-11-27 08:05:57

Why is the image not showing on the right?

I do not understand why the picture rises to the left and not to the right? Even though the alignment is right:

<p style="text-align: justify;"><img class="wp-image-167 alignright" style="border: 1px solid black; margin: 10px;" alt="kartinka" src="http://site.com/wp-content/uploads/2013/11/kartinka.jpg" width="384" height="288" /></p>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Larionov, 2013-11-27
@KVS17

Here, .alignright obviously does not work for the picture.
If you manually add style="float:right;" for the picture (namely, this should be specified for .alignright as well), everything works as it should.

D
Dmitry S, 2013-11-27
@Hakkunamatata

Since when did justify equate to right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question