CSS
--
Questions
--
Followers
Top Experts
http://www.workforlgihomes.com/
Currently, there's some unwanted top and bottom margins and/or padding that I'd like to remove, .. although I can't seem to figure out how, as it appears that the unwanted spacing is being controlled by CSS that's contained within the iframe. Does anyone here know I can remove those excessive top and bottom margins around the embedded video?
Thanks,
- Yvan
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
.vimeo-wrapper {
padding: 0;
margin: 0;
}
Padding and margin on the vimeo Iframe is fine - it is the vimeo-wrapper that is the problem
- yg
If I run Chrome + Inspect + then for the body tag, disable height == 100%, white space collapses.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.embed-responsive-4by3 {
padding-bottom: 75%; /*<== Change to 50%*/
}
The challenge seems to be with maintaining the proper height / aspect ratio for the video when resizing the browser. Any suggestions?
- Yvan

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
CSS
--
Questions
--
Followers
Top Experts
Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.