• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 48
  • Last Modified:

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.
0
Ali Ali
Asked:
Ali Ali
  • 2
  • 2
1 Solution
 
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
 
Ali AliHavalandırma & Klima UzmanlığıAuthor Commented:
Awesome. Thank you very much David. This is that I absolutely wanted what to be.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now