Background color doesn't contain embedded video on page

Ali Ali
Ali Ali used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David KellyWeb Developer

Commented:
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...
Ali AliHavalandırma & Klima Uzmanlığı

Author

Commented:
Sorry. I've just added a link. Thanks for interest.
Web Developer
Commented:
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

Ali AliHavalandırma & Klima Uzmanlığı

Author

Commented:
Awesome. Thank you very much David. This is that I absolutely wanted what to be.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial