Site layout seems to break on Macintoshes

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Site layout seems to break on Macintoshes

Post 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)?
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post 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
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Safari 1.03 displays okay.
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

Post by anthony88guy »

Can you get a screen shot?
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post 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:
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post 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?
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Will try and get someone take a look at this.
Post Reply