Small gap under Video

Small gap under Video was created by Chrysant

Posted 1 year 3 months ago #67243
Hi CEd,
I have a 2-column layout (30% : 70%). A 16:9 aspect ratio video is embedded in the wider column.
Now there is always a small gap under the video...



The CSS class ".videock" has the statement "display: inline-block". If I set this to "display: block" the gap disappears.
Is there a reason why "inline-block" has to be used here? Or can I set it to "block" without hesitation?

Last Edit:1 year 3 months ago by Chrysant
Attachments:
Last edit: 1 year 3 months ago by Chrysant.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Small gap under Video

Posted 1 year 3 months ago #67246
Hi
really I can not tell you why I have used "inline-block". There are some many css used in my extensions :)
But I can tell that this allow the item to be centered in the page, where the display block does not work

you can use a custom css code to override this in the page if you need
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Chrysant on topic Small gap under Video

Posted 1 year 3 months ago #67247
Thank You. Solved for now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.691 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 528 guests and no members online