Small gap under Video
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:1 month 2 weeks ago
by Chrysant
Last edit: 1 month 2 weeks ago by Chrysant.
Please Log in or Create an account to join the conversation.
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
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.843 seconds