correct html commands
-
I am using a theme from this excellent web template resource https://andreasviklund.com/.
When I insert a photo into a post using the editor the alignment html tag appears as class=”alignleft size-medium wp-image-197″
However this does no allow the paragraph to sit alongside the photo. The text starts at the bottom of the image.
I have found I need to change the tag to align=”left” align=”right” hspace=”15″.
This seems to be peculiar to the theme I am using, it doesn’t happen on the default theme.
I know that the align and hspace tags are now deprecated and I’m not sure using align twice in an html string is good practice. Can anyone advise me on this or add a useful comment please?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘correct html commands’ is closed to new replies.