Forums

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

Home Forums CSS Vertical align of iframe in anchor element

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #261542
    prinse.leia
    Participant

    To vertical align of iframe in anchor element

    This code snippet works fine in codepen and also on our live website.

    https://codepen.io/phuongv/pen/OxqXxv

    Yet on my local live preview, iframe tilted to the top with the same computed values.

    Anybody has an idea?

    #261548
    Beverleyh
    Participant

    my local live preview

    Sorry – I have no idea what that is (via some design tool maybe?), but if the code works on the live site, surely it shouldn’t matter if a local preview isn’t working exactly the same. Its just a preview afterall, and the live site is what matters.

    Also, there is no iframe in the CodePen provided so its hard to comment. Not sure why it would be nested inside an anchor though.

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