Jump to content

Alignment of text with background colour beside image

Recommended Posts

Hi there

I have a block of text with background colour behind it by using:


/* otbs green backgound to text*/
#block-yui_3_17_2_1_1568246902220_52426
{background: rgb(40,171,74); padding-left: 30px; padding-right: 30px;}

There is a graphic image beside the text. I would like the depth of the green block of text to match the depth of the image as screen sizes / formats vary. At the moment, as the screens reduce the images shrinks compared to the green text box.

The problem occurs at the bottom of the first project.

Any suggestions?

The url is Eitsmn.com password Doodad195

Many thanks

Link to comment
  • Replies 0
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.