Float class for attribution

@sherry.wood

OK. I found them. I was just looking at the home page.

When you float an image, it lifts off the page and other content just flows around it (basically ignoring it), so if you float an image to the right, the text will see that there is space on the left and it will just take that space.

Floats can be tricky for that reason and more and more, web developers are moving away from using float and they use other ways of laying out their pages such as the CSS Grid system.

This can be a bit over the top for CSD, though. Here’s a link to a recent thread where a few teachers shared some ideas for keeping simple layouts and having text grouped with images in a practical way.

Hopefully one of these links will work for you.

Mike

1 Like