Containers in a row, side by side

I want to have an image and text box side-by-side, so that our website name is next to our logo.

Flex does not seem to do this

Give it a try with Grid using these settings and see if this works for you:

It does. Set the flex to rows instead of columns.

When is it best to use Grid and when is it best to use Flex?

IMO, I would use the flex in your situation. There’s really no right or wrong as you will see working with elements. It’s very flexible.

See:

Tailwind CSS Docs

Should help.

What a great resource; thanks!

Thanks; now how do I make a text box wider?