Small gap under Video
2 years 3 months ago - 2 years 3 months ago #67243
by Chrysant
Small gap under Video was created by Chrysant
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?
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: 2 years 3 months ago by Chrysant.
Please Log in or Create an account to join the conversation.
2 years 3 months ago #67246
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Small gap under Video
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
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
Please Log in or Create an account to join the conversation.
2 years 3 months ago #67247
by Chrysant
Replied by Chrysant on topic Small gap under Video
Thank You. Solved for now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.232 seconds