Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi I'm trying to insert a picture within a web page that has no background and have a background color of my choosing behind it

Hi I'm trying to insert a picture within a web page that has no background and have a background color of my choosing behind it that spans the entire page, but have the picture itself only span half or perhaps less of the page.

image text in transcribed

So as you can see the picture of the car and the light blue background picture stay the same, how do I utilize class or

in CSS ONLY to change it so the size of the car stays the same but the size of the light blue background spans the entire page? How could I make it so it aligns from the left half of the screen to the center?

image text in transcribedimage text in transcribed

imgheader ( display: block; margin-left: auto; margin-right: auto; backgroundFull background-color lightblue; background-size: auto

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

2. What are your challenges in the creative process?

Answered: 1 week ago