PlaneWalker
09-30-2004, 03:56 PM
What are some things to consider when making a website compatible with a Mac, as far as HTML and PHP programming are concerned?
I'm a designer for the most part but am very comfortable with HTML and fairly comfortable with PHP and would like to know what needs to be taken into consideration when working to make the site compatible/bug free.
Thanks in advance,
BigBison
09-30-2004, 03:58 PM
Well, for starters, there's nothing you need to worry about when it comes to PHP, as that is strictly a server-side technology.
sea otter
09-30-2004, 06:16 PM
As "The Bison" said, you don't have to worry about php as it's handled on the server and has nothing to do with the client (be it windows, linux, mac, a PDA, whatever).
The 2 main issues you'll find with regards to accomodating the Mac are:
1. font sizing
2. browser issues
1. Fonts on the mac are "assumed" to be 72 dpi, and on the pc 96 dpi, so text will appear smaller on the Mac. This isn't always the case, though, as some machines have different dpi resolutions (my Mac notebook is 100dpi, pretty close to the pc's 96). Assume that your fonts will look one "size" smaller on the Mac (e.g., a "medium" sized font on the pc will look like a pc "small" font on the Mac).
2. Browser vagaries are no different on the Mac than on the PC; some CSS things work, others don't, etc. etc. The main browsers on the Mac are:
Safari & OmniWeb (lumped together because they use the same core WebKit renderer)
Camino
Firefox/Netscape/Mozilla (I believe they all still use they same renderer)
Opera
IE Mac (officially discontinued, never liked, majorly quirky, don't even bother)
You can sign up at http://www.browsercam.com if you want to be able to test your website/s on multiple platforms and browsers.
sea otter
09-30-2004, 06:17 PM
As a followup, here are some useful resources about web/css font sizing issues:
http://clagnut.com/blog/348/
http://home.earthlink.net/~bobbau/platforms/text-size/
PlaneWalker
09-30-2004, 07:02 PM
Thanks for the responses...
This latest situation is that the client (on Mac's) see the form elements (two text fields on top of each other) as not aligned - this occurs in Safari as well as IE for them. They also claim there are images "truncating", or being bumped to a second line. None of these things can be seen on any PC, no matter which browser is being used.
Any thoughts on this specific situation?
sea otter
09-30-2004, 07:05 PM
is there css code involved? tables? both?
PlaneWalker
10-01-2004, 11:26 AM
Ahh, sorry - yes, there is indeed a css involved as well as tables. In fact, I am applying a style from the css on the form fields if that helps.
sea otter
10-01-2004, 11:56 AM
Originally posted by PlaneWalker
Ahh, sorry - yes, there is indeed a css involved as well as tables. In fact, I am applying a style from the css on the form fields if that helps.
yes yes, the usual suspects...
Unfortunately, I'd need to see code to diagnose any further. If you can post a link, please do.