Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Mac designed page does not work on PC

Mac designed page does not work on PC
Thread Tools
Forum Regular
Join Date: Oct 2002
Status: Offline
Reply With Quote
Feb 9, 2003, 12:56 AM
 
I just started making some web sites using a Mac. I am using Dreamweaver MX. For some reason my site shows up okay on a Mac, but on a PC it is all messed up? Can anyone check what I am doing wrong? Thank you very much.

http://www.tech8media.com/convergence/
     
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 9, 2003, 01:42 AM
 
First thing I would try is a doctype definition like

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I'll look over the code somewhat quickly now..
     
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 9, 2003, 01:45 AM
 
--blah I can't click on things in order. why can't i delete my posts??
     
Forum Regular
Join Date: Jun 2002
Location: New York
Status: Offline
Reply With Quote
Feb 9, 2003, 10:43 AM
 
Use the W3C's HTML validator: http://validator.w3.org/check?uri=ht...m/convergence/

That Doctype declaration is key.

Peter
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 9, 2003, 12:57 PM
 
Although the DOCTYPE is necessary for page validation, the lack of it wouldn't trigger problems on IE/Win (which is what I'm assuming you mean "does not work on PC" means). The lack of a DOCTYPE would trigger Quirks mode in every modern browser out there, including IE6/Win (IE5/Win didn't have a Quirks mode, since it essentally was Quirks mode). However, I do recommend you put the DOCTYPE in anyway; the one redJag suggested will keep browsers in Quirks mode so it won't affect your layour in browsers that are already known to work.

Do you have screenshots of the problem, for those of us without access to a PC? Being able to actually see what's wrong might help.

As for code problems, Tidy pointed out 11 of them, but here are the four which are most likely to cause the issues you're having:
  • In your body tag, there appears to be an extra quote mark on the end. Remove it.
  • On your very first table tag, your border attribute reads as follows: "border="0" (quotes inclusive). Remove that leading quote mark.
  • On Line 73, you have a left-aligned DIV, but nothing is in it. Try removing that. I'm not taking in line-wrapping into account, so you might want to search for "<div align="left"></div>" (quotes exclusive).
  • On Line 79, you have an empty P tag. Try removing that. You can search for "<p></p>" (quotes exclusive) to find it.
You're also missing summary attributes on your tables (these are layout tables, so just make them blank; summary="" quotes inclusive will work just fine). There's one image which lacks an alt attribute, but I don't know where it is. Those round out the 11 errors.

I'd suggest, by the way, putting proper alt attributes on the images you use for navigation tabs ("Home", "Forums", etc). That's just an accessibility issue.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Forum Regular
Join Date: Oct 2002
Status: Offline
Reply With Quote
Feb 11, 2003, 01:39 AM
 
Thank you so much for all your help, I'll check out the coding and get back to you. Thanks.
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 08:46 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2