M
Mark Rae
Hi,
I realise that this post isn't ABSOLUTELY to do with ASP.NET, but can anyone
please confirm whether pixels are different on Windows and Macs?
Reason I ask is that one of my current clients is a heavy Mac user, and the
website I'm developing for them looks very different on their Macs from the
way it looks on Windows browsers. The common denominator seems to be
specifying table dimensions in pixels.
Specifically, their corporate layout specifies a logo banner centered at the
top of each page, and the content underneath should align with the outer
edges of the logo, which is 650 pixels wide.
<div align=center>
<img src=../images/logobanner.jpg>
</div>
<br>
<table border=1 width=650px align=center>
<tr>
<td align=left>Some text</td>
<td align=right>Some other text</td>
</tr>
</table>
On all Windows browsers, the above HTML correctly aligns the two tablecells
with the left and right edges of the logo. However, on Mac browsers, the
table is considerably wider than the image. I've done a View Source on both
systems, and the HTML is identical.
I'll be looking at other ways of specifying absolute dimensions in a day or
so, but I'm interested to know whether anyone else has encountered this
cross-platform phenomenon, and whether I'm correct about pixels.
Any assistance gratefully received.
Mark
I realise that this post isn't ABSOLUTELY to do with ASP.NET, but can anyone
please confirm whether pixels are different on Windows and Macs?
Reason I ask is that one of my current clients is a heavy Mac user, and the
website I'm developing for them looks very different on their Macs from the
way it looks on Windows browsers. The common denominator seems to be
specifying table dimensions in pixels.
Specifically, their corporate layout specifies a logo banner centered at the
top of each page, and the content underneath should align with the outer
edges of the logo, which is 650 pixels wide.
<div align=center>
<img src=../images/logobanner.jpg>
</div>
<br>
<table border=1 width=650px align=center>
<tr>
<td align=left>Some text</td>
<td align=right>Some other text</td>
</tr>
</table>
On all Windows browsers, the above HTML correctly aligns the two tablecells
with the left and right edges of the logo. However, on Mac browsers, the
table is considerably wider than the image. I've done a View Source on both
systems, and the HTML is identical.
I'll be looking at other ways of specifying absolute dimensions in a day or
so, but I'm interested to know whether anyone else has encountered this
cross-platform phenomenon, and whether I'm correct about pixels.
Any assistance gratefully received.
Mark