The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS old browser css question?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #276010

    Good morning,

    I have a html5 video tag. I am putting an img tag inside it as alt content. The only way a browser shows the img instead of the video is if it is too old to understand the video tag. So am I to assume that using this css…

    video img {…}

    Would not work since it doesn’t understand video tag? Or because it doesn’t understand it it skips over it and just sees the “img” in the css? Or does the browser understanding of html and css not run parallel so there is no known answer?

    For the time being I just used a class on it because I didnt know the answer.


    Some Code would be useful but I’m doubtful that video img {…} would be recognised by the browser that doesn’t support the tag.

    If a browser doesn’t understand any part of a css selector / rule it just ignores it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.