On 22 Oct 2004, at 12:17 AM, Craig Millman wrote:

This is my first post, I have been silently gobbling up info.

I have designed a website for a friend www.pacifichomeloans.com.au which
seems to look ok in IE on Windows, however not in Mac IE.


The css is at www.pacifichomeloans.com.au/styleshome.css

I have validated the XHTML although it has given me a warning. However it
won't validate the css for me, because it says I need to validate the XHTML.
I am a little confused there.


I am new to css and I am sure I have made some mistakes however I can't
figure it out. I only have IE on my computer and have downloaded images
from browser cam to "test on other browsers".


After reading all messages posted on this list, I also realise if it is
working in IE Win and not in IE Mac then the css is probably wrong!!

Hi Craig, and welcome.

The CSS validator says 'Line 48, Column 20 - The content of elements must consist of well-formed character data or markup.'

I think it's seeing the < character in your javascript at that point and reading it as the start of a tag that isn't closed - therefore the error.

Try using this syntax to declare your javascript:

<script type="text/javascript"><!--//--><![CDATA[//><!--

...javascript here...

//--><!]]></script>

or else remove your javascript to an external file and import it with

<script type='text/javascript' src='filename.js'></script>

BTW - the crossfade effect that the javascript is driving doesn't work at all on Mac browsers - although the slideshow does. Caption's a little off in IE Mac - there's a line and a half of height for single line captions, so you can always see a bit of the 'and hire purchase' line below the other two captions...

As far as the overall layout presentation goes, I recommend you develop to Firefox and then tweak for IE on both platforms. Your layout is broken to some extent on all Mac browsers - Firefox, Safari, IE. It's always best to develop to a compliant browser first, then add the IE tweaks/hacks.

HTH

Nick
 ___________________________
Omnivision. Websight.
http://www.omnivision.com.au/

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to