Etsi tuesta

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Lue lisää

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

  • 8 vastausta
  • 2 henkilöllä on sama ongelma
  • 5 näyttöä
  • Viimeisin kirjoittaja 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

Valittu ratkaisu

Can you tell us that solution?

Lue tämä vastaus kontekstissaan 👍 0

Kaikki vastaukset (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

Valittu ratkaisu

Can you tell us that solution?