0

我正在尝试在调整窗口大小时调整网页上所有元素的大小。背景图像需要与可拖动项目、文本框、字体大小和其他图像一起拉伸。可拖动项目需要与背景图像成比例地保持在同一位置。一切都需要保持纵横比。我尝试了很多方法,但似乎都没有奏效。

4

1 回答 1

0

As far as the background image scaling to whatever is going on on the page, see my reply to this guys similar question.

resize the image to fit the dimensions of TD

as far as other objects changing but maintaining aspect rations you may want to look into css Media Queries.

good luck

于 2012-09-22T02:03:06.280 回答