Forums

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

Home Forums CSS iframe widget not scaling/placed right on mobile device

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #251821

    Hi

    Im trying to autoscale an html5 internet speedtest on my site. But i am having a hard time getting it right. What i am trying to achieve is placing the widget in center position and autoscale depending on what device it is being viewed on.
    As of now, the widget is placed center and its scaling so that is good but when wieved on a mobile device i have to scroll to the side to see the widget. Is there something missing in the css code or some values thats not right?
    The site where the speedtest is placed: http://klartvalg.com/hastighetstest

    Any help is greatly appreciated! :-)

    The example codes from openspeedtest.com i have used:

    http://codepen.io/anon/pen/aJbdvM

    #251827
    Paulie_D
    Member

    I’d imagine it has something to do the the fixed width on the div.

    #251831
    Beverleyh
    Participant

    This is also advised on the openspeedtest site;

    Also you need to adjust the CSS values for a perfect fit on your design.

    So far you’ve just used the example code that they provide, so have a go at adapting it and post back with your changes.

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