搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

PHP page layout changes when 'zooming in' ? ...

  • 8 回覆
  • 2 有這個問題
  • 8 次檢視
  • 最近回覆由 cor-el

more options

Have a particular web page which s PHP coded and it has nested tables. When opened in FF the page looks as it was intended to do ... but if you then 'zoom in' the outer table does not expand at the same rate as the inner tables. I've tried both setting the table dimensions as fixed pixel sizes and also as percentages (%) ... but neither seems to make any difference ... when you zoom in, the inner tables expand at a greater rate than the outer table. I've trawled the PHP help sites but everyone just refers me to the Mozilla site. Can anyone throw any light on this behaviour and how to solve the issue ?? Many thanks

Have a particular web page which s PHP coded and it has nested tables. When opened in FF the page looks as it was intended to do ... but if you then 'zoom in' the outer table does not expand at the same rate as the inner tables. I've tried both setting the table dimensions as fixed pixel sizes and also as percentages (%) ... but neither seems to make any difference ... when you zoom in, the inner tables expand at a greater rate than the outer table. I've trawled the PHP help sites but everyone just refers me to the Mozilla site. Can anyone throw any light on this behaviour and how to solve the issue ?? Many thanks

被選擇的解決方法

Can you tell us that solution?

從原來的回覆中察看解決方案 👍 0

所有回覆 (8)

more options

Can you post a link to a public page that doesn't require authentication (log in) to access it? / A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

more options

Alas, not ... as the page is part of the over all Mail List program which has direct access to on-line databases etc and I've already suffered at the hands of hackers trying to do unspeakable things. I can however post some links to screen grabs and an .rtf with the code if it will prove helpful ? Thanks anyway for the input and I will give the guys n gals over at the other forum you suggested a shout ;-)

more options

Can you come up with reduced HTML code that show this issue?

more options

Hi, It's PHP ... not HTML

more options

See, it displays OK at first but when you zoom out (-) it goes all wrong but then once you zoom out again another couple of clicks it reverts to the correct layout ... all be it smaller. It's the in between misshapen layout that I'm trying to solve

more options

You always need a server to process the PHP code to HTML code because Firefox doesn't know about PHP code.

Does this happen with full page zoom or with "View > Zoom > Zoom Text Only" selected?

Using the latter is more prone to issues with zooming pages, so it is best to avoid that setting.

more options

Thanks ... but I am fully aware of what you are saying. However, I have since stumbled across the solution to this issue.

more options

選擇的解決方法

Can you tell us that solution?