Background color doesn't contain embedded video on page

background-colorI try to create sections on a landing page in my website. In video and text section I want to give background color to that section. The color even contains h1 and but not background of video. Where is the point I missed ? Any help really appreciated.

You can look at here deeply. Thank you so much.
Ali AliHavalandırma & Klima UzmanlığıAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David KellyWeb DeveloperCommented:
Do you have a link to the page handy?

This question will be very difficult to answer without a link, or code example or something...
1
Ali AliHavalandırma & Klima UzmanlığıAuthor Commented:
Sorry. I've just added a link. Thanks for interest.
0
David KellyWeb DeveloperCommented:
You want that gray color to be the background of the entire bottom section?

The "quick and dirty" answer is to change this div:
<div style="background-color:gray;">

Open in new window


to this:
<div style="background-color:gray; display: table;">

Open in new window


But there are a few elements sitting OUTSIDE that div, so they would not change color.
<p><!-- video bölümü | kapat --></p>
<div style="clear:left;"></div>
<div style="margin-top: 70px;"></div>
<p><!-- commented out content ---></p>
<div style="background-color: gray;">band</div>

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ali AliHavalandırma & Klima UzmanlığıAuthor Commented:
Awesome. Thank you very much David. This is that I absolutely wanted what to be.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.