Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: CSS screws up display on a Mac??

Thread Tools

Re: CSS screws up display on a Mac??

Posts: n/a
On Thu, 01 Apr 2004 03:13:28 GMT, "Jeff Thies" <(E-Mail Removed)>

>> I've uploaded the page (html & style sheet) to:

>I havn't fired up my Mac, but...
> I see this in the HTML:
><script type="text/javascript" language="JavaScript1.2"
>href="" target=_top>
>5&hours=22&minutes=7&rtype=4" border=0 title="Site Meter"></A>
> That's just plain wrong. Chop it out and get a Mac friend to retry. I'm on
>a dialup here and and I have to go offline to fire up my G3...

the SiteMeter stuff was copied and pasted from their site. I wouldn't
even know where to begin to edit javascript code. But, the code for
the img src isn't what you've indicated above.

The SiteMeter code is on both versions of the page, table layout and
CSS, in addition to quite a few other pages on the site. That
apparently is not the problem.

Thanks for your input, Jeff.

"I refuse to have a battle of wits with an unarmed person."
Reply With Quote
Leonard Blaisdell
Posts: n/a
In article <(E-Mail Removed)>, Removed) wrote:

> >On Thu, 01 Apr 2004 01:41:25 GMT, Leslie <(E-Mail Removed)>
> >declared in alt.html:
> >
> >>
> >> I have no clue what might be causing the problems with only Macs.

> The description I got about the behavior on the Macs was "the page
> displays funny, the graphics are all over the place and the page never
> loads completely. After it hangs for a few seconds the whole computer
> locks up and has to be rebooted." I was told it happens on ALL Macs
> regardless of age, software or browser.

> I'm very careful about making sure all pages validate because I know
> that within the district itself, and our community, we're dealing with
> all kinds of OS and browsers.
> Thanks for any and all help!

Your site crashes MacIE5.1 as you describe. It loads in MacMozilla1.2.1,
but at my 640x480 resolution, the links are listed at the top and the
graphics on the bottom. In MacOpera5, the links don't load at all but the
graphics are probably where they should be, high on the right hand side.
Wow! Where'd the links go? I lied. They're there but invisible.
I looked at your style sheet and "seem to remember" that MacIE5 doesn't
like "position:relative". Google for "Mac IE5 CSS position:relative" and
stuff comes up which might be of interest. I didn't have the fortitude to
try your site with NN4. It takes too long to reboot
If it were me, I'd work with floats and widths and forgo positioning with
the CSS. The page is simple enough to do well with them.
Comment out the position properties in a test folder and have someone view
the page with MacIE. If it doesn't crash, you have the culprit. If it
does, it may be your javascript. So comment that out and have them try
again. You know the drill.


Reply With Quote
Posts: n/a
Leslie wrote:

> On Thu, 1 Apr 2004 13:49:31 +1200, "Nik Coughin"
> <nrkn!no-spam!> wrote:
>>Leslie wrote:
>>>On Thu, 1 Apr 2004 01:02:20 +0100, "Andrew Urquhart"
>>><(E-Mail Removed)> wrote:
>>>>Leslie wrote:
>>>><cut />
>>>>>Why in the world would this page that validated screw up so badly on
>>>>>only Macs? Other pages throughout the site that have been converted
>>>>>to CSS seem to work fine on all Macs.

>>>I've uploaded the page (html & style sheet) to:

>>>I have no clue what might be causing the problems with only Macs.
>>>There is nothing exotic on this page and nothing I haven't used on
>>>other pages that work on Macs.

>>Couldn't see anything myself, but I didn't look through it in much detail
>>due to the difficult-to-read formatting. You might want to try running
>>TidyHTML or something over your source if it's being generated by software,
>>it's a great program and makes everything so much more readable. If you're
>>coding by hand then you should really make more use of whitespace to break
>>up the code, browsers (generally) ignore it anyway.
>>Also, not all Macs apparently, on it worked fine:
>>Good luck sorting out your problem!

> Thanks for giving the page a Mac check! Your capture looks just the
> page is supposed to.
> As for the difficult-to-read formatting, the biggest chunk of code is
> for the nav buttons on the left. I use Arachnophilia and code by hand
> and usually make sure I've got enough white space to read the code
> easily. I keep the code for the nav buttons all bunched up because
> they very rarely need updating and I can skip right over them to get
> to what I want. (I've never used TidyHTML because I thought it
> stripped the code of all white space. I'm wrong??)

Arachnophillia's "Beautify HTML" command works wonders. Personally I
think it does tend to add a lot of unnecessary formatting (such as
breaking a previously single line Anchor tag over three lines) but it
definatly makes my code much much more readable!


Reply With Quote
Posts: n/a
Entity Leslie spoke thus:

> I've uploaded the page (html & style sheet) to:

Netscape, Firebird: looks great

Safari, Omniweb: Missing menu images, no links

Explorer: Missing menu images

iCab: Missing menu images, layout is messed up. (iCab does not yet support
CSS positioning)

-- Gnarlie

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT!!!! ik ASP .Net 6 07-16-2004 05:28 PM
Object tag going into design mode screws up params John Holmes ASP .Net 2 07-09-2004 12:48 PM
HERE WE GO AGAIN, Visual Web Developer 2005 Express SCREWS UP YOUR CODE on PURPOSE...STOP TOUCHING MY CODE, MICROSOFT!!!! ik ASP .Net 8 07-09-2004 04:52 AM
6500 rack ear screws? Steve S. Cisco 1 02-13-2004 05:29 AM
OT online screws or is that schools Rick MCSE 4 12-11-2003 01:44 PM