Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Re: CSS screws up display on a Mac??

 
 
Andrew Urquhart
Guest
Posts: n/a
 
      04-01-2004
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.


Unfortunately your post is one of those "My car is broken, what's wrong
with it?" posts.

That said, something that is syntatically valid doesn't necessarily mean
that is functionally valid, take this bit of javascript for example:

function GetTemperature(cat, wildebeast, lampost, pencil) {
if (cat) {
return wildebeast % lampost;
}
return pencil / cat;
}

.... it's syntactically correct, but is unlikely to function correctly.

> I can't point you to an URL since the page is no longer online, but I
> can post the style sheet code and HTML here if that would help.


IMHO that would be a "code bomb" and many people that would have helped
you will ignore it because amount of material to sift through. If you
take the time to investigate this yourself, narrow down the problem to a
few troublesome lines and then post that (and better still a demo URL)
then you'll probably get a lot more helpful replies.
--
Andrew Urquhart
- Archive: http://groups.google.com/groups?group=alt.html
- Reply: www.andrewu.co.uk/contact/


 
Reply With Quote
 
 
 
 
Leslie
Guest
Posts: n/a
 
      04-01-2004
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.

>
>Unfortunately your post is one of those "My car is broken, what's wrong
>with it?" posts.


>> I can't point you to an URL since the page is no longer online, but I
>> can post the style sheet code and HTML here if that would help.

>
>IMHO that would be a "code bomb" and many people that would have helped
>you will ignore it because amount of material to sift through. If you
>take the time to investigate this yourself, narrow down the problem to a
>few troublesome lines and then post that (and better still a demo URL)
>then you'll probably get a lot more helpful replies.


I've uploaded the page (html & style sheet) to:
http://www.bessiebee.com/TEST/csdindex_new.html

I've uploaded the background graphic and the main picture in the
center of the page, but not all the nav buttons. Obviously the links
will take you only to my 404 error page.

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.

Any and all help/suggestions/pointers will be very much appreciated!

Leslie
"I refuse to have a battle of wits with an unarmed person."
 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      04-01-2004
On Thu, 01 Apr 2004 01:41:25 GMT, Leslie <(E-Mail Removed)>
declared in alt.html:

> http://www.bessiebee.com/TEST/csdindex_new.html
> I have no clue what might be causing the problems with only Macs.


What is actually happening on the Macs? What browser(s)? I don't have
one here so I can't check it, but it may be a known bug or something.


--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
Nik Coughin
Guest
Posts: n/a
 
      04-01-2004
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.

>>
>> Unfortunately your post is one of those "My car is broken, what's
>> wrong with it?" posts.

>
>>> I can't point you to an URL since the page is no longer online, but
>>> I can post the style sheet code and HTML here if that would help.

>>
>> IMHO that would be a "code bomb" and many people that would have
>> helped you will ignore it because amount of material to sift
>> through. If you take the time to investigate this yourself, narrow
>> down the problem to a few troublesome lines and then post that (and
>> better still a demo URL) then you'll probably get a lot more helpful
>> replies.

>
> I've uploaded the page (html & style sheet) to:
> http://www.bessiebee.com/TEST/csdindex_new.html
>
> I've uploaded the background graphic and the main picture in the
> center of the page, but not all the nav buttons. Obviously the links
> will take you only to my 404 error page.
>
> 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.
>
> Any and all help/suggestions/pointers will be very much appreciated!
>
> Leslie
> "I refuse to have a battle of wits with an unarmed person."


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 http://capture.danvine.com it worked fine:

http://capture.danvine.com/results/8589.png

Good luck sorting out your problem!


 
Reply With Quote
 
Leslie
Guest
Posts: n/a
 
      04-01-2004
On Thu, 1 Apr 2004 11:46:47 +1000, Mark Parnell
<(E-Mail Removed)> wrote:

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

>
>What is actually happening on the Macs? What browser(s)? I don't have
>one here so I can't check it, but it may be a known bug or something.


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.

We're talking several hundred computers throughout the school district
and I don't know what percentage are Macs and what are PCs. I do know
that every classroom I've ever been in has Macs. The browser could be
whatever that particular teacher and/or school has installed, but I'm
presuming the majority of the browsers are IE, again ranging in age
from ancient to current. (The district is in the process of
standarizing everything, but it's very slow going, especially with all
the "No child left behind" crap they're having to deal with now. BUT,
that's a whole other thread)

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!

Leslie
"I refuse to have a battle of wits with an unarmed person."
 
Reply With Quote
 
Leslie
Guest
Posts: n/a
 
      04-01-2004
On Thu, 1 Apr 2004 13:49:31 +1200, "Nik Coughin"
<nrkn!no-spam!@woosh.co.nz> 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:
>> http://www.bessiebee.com/TEST/csdindex_new.html


>> 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 http://capture.danvine.com it worked fine:
>
>http://capture.danvine.com/results/8589.png
>
>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??)

Thanks for your help!

Leslie
"I refuse to have a battle of wits with an unarmed person."
 
Reply With Quote
 
Owen Jacobson
Guest
Posts: n/a
 
      04-01-2004
On Thu, 01 Apr 2004 02:08:15 +0000, Leslie wrote:

> 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.


Speaking from tech-support experience, that's one of those descriptions
you'll want to go verify yourself. In person, if possible. I would be
very surprised if iCab, IE/mac (various versions), Safari, Mozilla, and
whatever else is kicking around all fail in the exact same way, and *all
take out the operating system*. If any of them do.

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.

 
Reply With Quote
 
Leslie
Guest
Posts: n/a
 
      04-01-2004
On Thu, 01 Apr 2004 02:19:41 GMT, Owen Jacobson
<(E-Mail Removed)> wrote:

>On Thu, 01 Apr 2004 02:08:15 +0000, Leslie wrote:
>
>> 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.

>
>Speaking from tech-support experience, that's one of those descriptions
>you'll want to go verify yourself. In person, if possible. I would be
>very surprised if iCab, IE/mac (various versions), Safari, Mozilla, and
>whatever else is kicking around all fail in the exact same way, and *all
>take out the operating system*. If any of them do.


I would go verify it myself, but at this point the "Mac problem" is
very far down the list of the district's problems, probably right at
the bottom. As far as they're concerned the problem *I* created was
"fixed" when I reloaded the table based page. As long as the page
displays properly they don't give a damn what code it used.

I also doubt it happened on "all Macs" but that's what I was told.
The info from an 800 employee district is funneled through my contact
to me, so who knows the complete truth? I can only go with what I'm
told, and hope I keep everyone at least reasonably happy.

If possible I'd like to know what happened for my own benefit. If I
did make a mistake somewhere I don't want to repeat it on any other
pages, either for the district, other paying clients or my own
personal pages.

Thanks again!!

Leslie
"I refuse to have a battle of wits with an unarmed person."
 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      04-01-2004
On Thu, 01 Apr 2004 02:08:15 GMT, Leslie <(E-Mail Removed)>
declared in alt.html:

> 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 inclined to agree with Owen - that sounds very unlikely, so I think
you need to go and check it out yourself.

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
Jeff Thies
Guest
Posts: n/a
 
      04-01-2004
> I've uploaded the page (html & style sheet) to:
> http://www.bessiebee.com/TEST/csdindex_new.html


I havn't fired up my Mac, but...

I see this in the HTML:

<script type="text/javascript" language="JavaScript1.2"
src="http://s17.sitemeter.com<A
href="http://s17.sitemeter.com/stats.asp?site=s17ccsd1" target=_top>

<IMG
src="http://s17.sitemeter.com/meter.asp?site=s17ccsd1&refer=&ip=207.69.79.20
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...

Cheers,
Jeff

>
> I've uploaded the background graphic and the main picture in the
> center of the page, but not all the nav buttons. Obviously the links
> will take you only to my 404 error page.
>
> 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.
>
> Any and all help/suggestions/pointers will be very much appreciated!
>
> Leslie
> "I refuse to have a battle of wits with an unarmed person."



 
Reply With Quote
 
 
 
Reply

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



Advertisments