开发者

Twitter Widget Height Problem

开发者 https://www.devze.com 2023-01-05 11:45 出处:网络
I\'m working on a new website that uses twitter\'s embeddable widget (see http://twitter.com/goodies/widgets ).

I'm working on a new website that uses twitter's embeddable widget (see http://twitter.com/goodies/widgets ).

You can control the widget's dimensions - width can be a fixed number of pixels or be set to 'auto'. Unfortunately I'm unable to convin开发者_如何学JAVAce the widget's height to be set to 'auto', which causes problems on long pages as large areas of white space appear under the fixed-height widget.

Has anyone experienced the same problem / found a resolution?

Thanks in advance!


I use this: (which I found elsewhere on the web, though have tested it in Safari (5.0.3), Chrome (9.0.597), and Firefox (3.6.12) (all MacOSX)):

height: 'auto; -arnom-nl: 0'

Caveat: In some cases you may find the widget sometimes extends further than other content on the page.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号