Browser encoding and display |
Site Admin
|
Neither of the problem have any realation to NuSphere products.
FYI if you want to create a UTF-8 page, don't forget to add either header with UTF-8 encoding or appropriately formed html meta tag. Without that, the browser makes decision and this decision may be wrong: header('Content-Type text/html; charset=UTF-8'); <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Regarding size, neither SRV nor PhpED have any control on the HTML rendering. You may want to check page scale and font size properties in the browser. I just checked and everything works fine, the rendered table is exactly 100px wide: |
||||||||||||
_________________ The PHP IDE team |
|
OK, thanks.
I posted the query in case anyone had experienced this before, or in case the NuSphere folks knew anything about it. I'm still mystified. The same HTML, same headers, same meta, same browser behaves differently if it's passing through NuSphere and its SRV server on my local machine, or if it's passing through Apache on my remote Linux server. It must be either to do with NuSphere, or with the SRV server, or with some other aspect of my local environment. Since I don't currently have any other web server running on my local machine it's hard for me to test it outside of NuSphere. Thanks for the reply. I'm not surprised you say it's not to do with NuSphre, but I had to eliminate that option first. Best regards Daniel |
||||||||||||
|
Site Admin
|
First of all, try the html I posted here. If it works fine, the problem is in the html you created. Otherwise try Google's Chrome browser; it shows "calculated" CSS and you'll get an idea on what's going wrong with the other parts if this is not Mozilla itself.
|
||||||||||||
_________________ The PHP IDE team |
|
I think it has to be to do with the scaling feature (press Ctl and roll the mouse wheel to zoom in and out). In experimenting, I did that (which I've never done consciously before) and I can make your red box zoom in and out at will. The virtual ruler provided by my Web Developer toolbar still says it's 100px, but the ruler too has zoomed.
If I quit and return, my new page is still zoomed, but if I load the same page from the remote server it's not zoomed. This is the opposite of what I had before, where the local version was reduced (zoomed out rather than in). Do you know where the info about what is zoomed and what is not is stored? Is it a cookie? And can I find out what my current degree of zooming is? Or set it back to 100% rather than just rolling the wheel and guessing? Thanks for your help (if you have the time) - but I agree with you this is not a NuSphere issue. |
||||||||||||
|
Site Admin
|
I think it depends on browser's cache.
Try View->Scale |
||||||||||||||||
_________________ The PHP IDE team |
|
Yes, that fixes it!
Thanks very much for your help. |
||||||||||||
|
Browser encoding and display |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by