<?xml version="1.0" encoding="utf-8"?>

Adding the float property

Adding the float property

The float property applies to the image and takes a seat inside the style attribute. Remember to specify whether you want the image to float to the right or the left of a text. Plus, you can set the margin in pixels for all sides of the image box if you don't want the text to stick too closely.

Top contributors

Lucas Pacheco Drozdowski
Zofia Swierczynska

Topics

From Lesson

Share

Improve your UX & Product skills with interactive courses that actually work