Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
Jon Fritz
Jon FritzCorrect answer
Community Expert
Oct 3, 2017 3:28 PM UTC

".video" is a class (preceded by a dot)

Unless you had <video class="video"> the rule you wrote wouldn't affect the <video> tag.

".fluidWrapper video" is an element selector (no dot before video)

It affects <video> tags that are within any element that has the class="fluidWrapper"

13 replies

MobosAuthor
Known Participant
Oct 4, 2017 7:57 AM UTC

By the way, I posted a new question about the accordion issue, because it is. So things won't get mixed up ;o)

Translate
MobosAuthor
Known Participant
Oct 4, 2017 7:27 AM UTC

Sorry people, I'm from the Netherlands and my English is not always that 'understandable' I guess

Translate
Jon Fritz
Community Expert
Community Expert
Oct 2, 2017 8:13 PM UTC

That's the same issue you were having with your images previously. Your inline <video> elements have a browser default text descender padding. Adding the following to the video selector, or a class within your video tag will fix it...

vertical-align:bottom;

Translate
MobosAuthor
Known Participant
Oct 3, 2017 3:19 PM UTC

Thanks, I tried ...

.video {

  vertical-align:bottom;

}

That didn't do anything, this works better .... (why?)

.fluid.Wrapper video {

  vertical-align:bottom;

}

Translate
Jon Fritz
Community Expert
Jon FritzCommunity ExpertCorrect answer
Community Expert
Oct 3, 2017 3:28 PM UTC

".video" is a class (preceded by a dot)

Unless you had <video class="video"> the rule you wrote wouldn't affect the <video> tag.

".fluidWrapper video" is an element selector (no dot before video)

It affects <video> tags that are within any element that has the class="fluidWrapper"

Translate