Page 1 of 1

Site layout seems to break on Macintoshes

Posted: Fri Jun 10, 2005 11:49 am
by Ambush Commander
I've been browsing PHPDn on a school Macintosh computer and I've been using both Safari and Internet Explorer. Both bug up the display to a point where, well, it's really weird.

Internet Explorer 5.2 for Mac

PHP Code doesn't show up at all. That is,

Code: Select all

asdfasdfas
asdfasdf
asdf
asdf
Shows up as four lines of blankness to me.

Furthermore, if you are to preview this post, the column is taking up only 1/8th of page when it should be stretched the whole way.

Safari 1.2.4

For some reason, the layout doesn't wrap. Lots of vertical scrolling, I think it's caused by PHP tags.

Can anyone confirm this behavior (that is, they use a Mac regularly and can load these programs and check it)?

Posted: Fri Jun 10, 2005 11:59 am
by neophyte
Confirmed. viewtopic.php is the only page I've noticed so far that has problems. It's got a fixed page width. The top navlinks are outside of the body of the page. Yup and no php code. I'm running MacOS 10.2 and IE 5.2. Not my normal browser. I use Firefox on three different platforms. :D

Posted: Fri Jun 10, 2005 12:01 pm
by neophyte
Safari 1.03 displays okay.

Posted: Mon Jun 20, 2005 11:17 am
by anthony88guy
Can you get a screen shot?

Posted: Mon Jun 20, 2005 11:40 am
by neophyte
Don't really need to do the screen shot. Just run validator on it. You'll see there are tags that are not closed.

Here's what it looks like on MacOS 10.2 and IE 5.2.2

Image

Notice -- no php at the bottom....

SEE -- IE Sucks on Mac too! :twisted: :evil: :twisted:

Posted: Thu Jun 23, 2005 10:35 pm
by Ambush Commander
I'm not sure if this is it but...

Code: Select all

<div class=&quote;php&quote;>
<div class=&quote;lang&quote;>PHP (11 lines) ::</div>
<div class=&quote;container&quote;>

<table class=&quote;block&quote;><tr><td class=&quote;linenumber&quote;>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></td>

<td width=&quote;100%&quote;>

<pre class=&quote;pcode&quote;>

<span class=&quote;default&quote;></span><span class=&quote;keyword&quote;>for (</span><span class=&quote;default&quote;>$i </span><span class=&quote;keyword&quote;>= </span><span class=&quote;default&quote;>8</span><span class=&quote;keyword&quote;>; </span><span class=&quote;default&quote;>$i </span><span class=&quote;keyword&quote;>&lt; </span><span class=&quote;default&quote;>22</span><span class=&quote;keyword&quote;>; </span><span class=&quote;default&quote;>$i </span><span class=&quote;keyword&quote;>+= </span><span class=&quote;default&quote;>2</span><span class=&quote;keyword&quote;>) {<br /> <br />&nbsp;&nbsp;</span><span class=&quote;default&quote;>$query </span><span class=&quote;keyword&quote;>= </span><span class=&quote;string&quote;>&quote;SELECT * FROM reservations WHERE registration_date='{$primarykeysearch}'&quote;</span><span class=&quote;keyword&quote;>;<br /> <br />&nbsp;&nbsp;If (</span><span class=&quote;default&quote;>mysql_query </span><span class=&quote;keyword&quote;>(</span><span class=&quote;default&quote;>$query</span><span class=&quote;keyword&quote;>)) {<br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span class=&quote;comment&quote;>// list time as available<br /> <br />&nbsp;&nbsp;</span><span class=&quote;keyword&quote;>}<br /> <br />}

</span>

</span>

</pre>
</td>
</tr>
</table>
</div>
</div>
It seems to me there's an extra closing </span> tag hanging around that shouldn't be there... Other than that, it seems everything else is valid HTML...

CSS problem maybe?

Posted: Fri Jun 24, 2005 1:18 pm
by McGruff
Will try and get someone take a look at this.