PHP page layout changes when 'zooming in' ? ...
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)
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.
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 ;-)
Can you come up with reduced HTML code that show this issue?
Hi, It's PHP ... not HTML
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
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.
Thanks ... but I am fully aware of what you are saying. However, I have since stumbled across the solution to this issue.
選擇的解決方法
Can you tell us that solution?