如何设置twitter的嵌入式时间轴宽度百分比(响应/流畅设计) [英] How to set up twitter's embedded timeline width in percentage (responsive/fluid design)

查看:154
本文介绍了如何设置twitter的嵌入式时间轴宽度百分比(响应/流畅设计)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设置 Twitter的嵌入式时间表,当你修复它时很容易设计,但这不是我的情况,我实际上正在为一个新网站建立流畅和响应的设计。

I'm looking to set up twitter's embedded timeline, it's quite easy when you're having a fixed design, but that's not my case and I'm actually building a fluid and responsive design for a new website.

我的问题是,如何设置 twitter的嵌入式时间轴,因为它是一个iframe而且你应该在你的Twitter帐户中设置with px ?

My question is, how can I set up twitter's embedded timeline with a fluid width since its an iframe and you're supposed to set up the with in px in your twitter account ?

谢谢:)

推荐答案

感谢所有人我找到了我的方式:
几乎就像缺乏说的那样,但我们不得不专注于iframe:

Thanks to all of you I found my way through: It was almost as lack said, but we had to focus on the iframe instead:

.MyClassForTheDivThatContainTheiFrame iframe{
    width:100%;
}

当然.MyClassForTheDivThatContainTheiFrame也是流畅的,%宽度

of course .MyClassForTheDivThatContainTheiFrame is also fluid with a % width

这篇关于如何设置twitter的嵌入式时间轴宽度百分比(响应/流畅设计)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆