2

I'm having this problem for over a year, and still didn't find the answer. So thank you in advance for helping me out!

I have a SWF embedded in HTML (it is placed in a div) and putted width and height at 100% (to make the flash file cover the whole screen). This works fine! But if you resize your browser the flash file gets (obviously) too small to read anything.

Is it possible to stop scaling the content when it is smaller than, for example, 200px, and replace it with scrollbars?

Thanks in advance! Tom

4

2 回答 2

2

只需添加到您的 CSS:

min-width: 200px;

如果您需要限制元素的高度:

min-height: 200px;
于 2013-03-30T09:58:32.443 回答
0

你试过这个吗.....

html

<div id="container">

  /* content */

</div>

css

#container {
        width: 100%;
}

@media only screen and (max-width: 480px) {
#container {
        width: 200px;
}

}
于 2013-03-31T09:24:05.470 回答