Click to See Complete Forum and Search --> : mac to pc browser problem
snarkle
10-20-2004, 05:14 PM
I have made a site on a mac in Dreamweaver. It works fine in the browser on the mac but when I put it on a pc and look at it in the browser ( both browsers on mac and pc are internet explorer) it doesn't come out right. If I open it up in Dreamweaver on the pc and save it, without making any changes, it shows up fine in the browser then. It shows up fine on both the pc and the mac then. Does anybody know what is causing the problem from mac to pc and is there a way I can save it on the mac without having to go to a pc and save the whole site all over again?<!-- / message -->
defjoe
10-20-2004, 05:39 PM
what fonts are you using? if your using some funky fonts that maybe PC users don't usually have... that will cause a problem.
'I will become the most powerful Jedi ever!'
'I'm the damn designer, bitches!'
Check out my indie comic book!
www.assassinsguild.net/ (http://www.assassinsguild.net/)
snarkle
10-20-2004, 06:07 PM
Sorry, but there are no funky fonts on the site.
defjoe
10-20-2004, 07:30 PM
ryan will be able to help you... this is his area of expertise.
'I will become the most powerful Jedi ever!'
'I'm the damn designer, bitches!'
Check out my indie comic book!
www.assassinsguild.net/ (http://www.assassinsguild.net/)
casedsgn
10-20-2004, 08:08 PM
You using CSS?
IE for pc sucks...it ISN'T standards complient like safari, firefox, IEmac, etc.
I just delt with a huge problem just like this.. I had to re-code many parts of the site to get things working in IE for pc.
Can you post an example?
Post Edited (casedsgn) : 10/20/2004 7:31:02 PM GMT
snarkle
10-20-2004, 08:26 PM
I'm not using CSS. I am including a crude picture for an example of what is happeing. The top picture is whatyou see on the mac and the bottom picture is what you see on the pc. If you need to know, 1 2 3 represent buttons.
Post Edited (snarkle) : 10/20/2004 3:31:17 PM GMT
coconut
10-20-2004, 11:58 PM
I know this is a crazy question, but are both monitors the same size? Are both monitors set with the same resolution and viewing mode?
Are your tables on default or do you have them centered and top or how ever? Have you tried to use the clean html up under commands to see if you are leaving any tags?
What do I look like a smoken monkey?
snarkle
10-21-2004, 01:25 AM
Coconut- I double checked what you have said and all the things are set right.
The thing that I really don't understand is why does it work if I open it up in dreamweaver on the pc and then save it on the pc without making any changes at all.
casedsgn
10-21-2004, 02:02 AM
You can't really trust what dreamweaver previews.. it'll look different in ever broswer you test. Are you familiar with how html code works and what tags do what? Your best bet would be to hide the preview window and go through your code chunk by chunck to see what's causing the malfunction. can you post the actual page somewhere for us to look at and view the source?
snarkle
10-21-2004, 02:14 AM
Casedsgn- I went through the code and the were no open tags or anything and I even went through the code from the mac and and the code from the pc and they were exactly the same. I had them side by side and went through them line for line. The only difference was the mac had the code like this:
[b] [b] [b]
and the pc had the code like this:
[b]
[b]
[b]
Post Edited (snarkle) : 10/20/2004 9:19:27 PM GMT
Ryan8720
10-21-2004, 03:08 AM
Do you mean
[b] </blah> [b] </blah> ?
Every tag (with few exceptions) has to have a closing tag. Whether they are on separate lines or not doesn't matter because whitespace is ignored.
Upload the page so we can look at the code.
This is why I hate DW.
http://www.edgewebdesign.org/images/misc/ryan_shadowmetal.gif (http://www.edgewebdesign.org)
snarkle
10-21-2004, 06:03 PM
Here is the code:
<html>
<head>
<title>Digiview Productions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Thu Oct 14 14:43:58 GMT-0400 ( ) 2004-->
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<style type="text/css">
<!--
body {
background-color: #553623;
}
-->
</style></head>
[b]
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="760">
<!-- fwtable fwsrc="homepage.png" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "659096466" fwnested="0" -->
<tr>
<td><img src="images/spacer.gif" width="164" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="455" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="130" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="11" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="4"><img name="index_r1_c1" src="images/index_r1_c1.jpg" width="760" height="218" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="218" border="0" alt=""></td>
</tr>
<tr>
<td><a href="tvshows.html" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r2_c1','','images/index_r2_c1_f2.jpg',1)"><img name="index_r2_c1" src="images/index_r2_c1_f2.jpg" width="164" height="114" border="0" alt="TV Shows"></a></td>
<td rowspan="4" colspan="3"> <iframe src="b_tvbox.html" width="596" height="400"frameborder="0"scrolling="no"</iframe></td>
<td><img src="images/spacer.gif" width="1" height="114" border="0" alt=""></td>
</tr>
<tr>
<td><a href="movies.html" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r3_c1','','images/index_r3_c1_f2.jpg',1)"><img name="index_r3_c1" src="images/index_r3_c1.jpg" width="164" height="102" border="0" alt="Movies"></a></td>
<td><img src="images/spacer.gif" width="1" height="102" border="0" alt=""></td>
</tr>
<tr>
<td><a href="cartoons.html" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r4_c1','','images/index_r4_c1_f2.jpg',1)"><img name="index_r4_c1" src="images/index_r4_c1.jpg" width="164" height="100" border="0" alt="Cartoons"></a></td>
<td><img src="images/spacer.gif" width="1" height="100" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><a href="music.html" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r5_c1','','images/index_r5_c1_f2.jpg',1)"><img name="index_r5_c1" src="images/index_r5_c1.jpg" width="164" height="123" border="0" alt="Music"></a></td>
<td><img src="images/spacer.gif" width="1" height="84" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r6_c2" src="images/index_r6_c2.jpg" width="455" height="39" border="0" alt=""></td>
<td><a href="contact.html" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('index_r6_c3','','images/index_r6_c3_f2.jpg',1)"><img name="index_r6_c3" src="images/index_r6_c3.jpg" width="130" height="39" border="0" alt="Contact Us"></a></td>
<td><img name="index_r6_c4" src="images/index_r6_c4.jpg" width="11" height="39" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
</tr>
<tr>
<td colspan="4"><img name="index_r7_c1" src="images/index_r7_c1.jpg" width="760" height="121" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="121" border="0" alt=""></td>
</tr>
</table>
</div>
</body>
</html>
Ryan8720
10-22-2004, 12:19 AM
It could be many things. Your code uses a ton of spacer images, some of which seem to be rather useless. It could also be the way the middle td uses colspan and rowspan. It's hard to tell without reconstructing the whole thing.
http://www.edgewebdesign.org/images/misc/ryan_shadowmetal.gif (http://www.edgewebdesign.org)
snarkle
10-22-2004, 12:29 AM
Thanks to all for the input and thanks to Ryan8720 for looking over the code.
snarkle
10-22-2004, 07:15 AM
Ryan8720- I would like to thank you. The problem was a bunch of spacers in the begining. I guess that was macromedias little thank you for using their software. I still don't understand why it worked when I saved it in dreamweaver in windows though, but hey, it works now and once again, thanks to Ryan8720.
Ryan8720
10-23-2004, 01:11 AM
Your welcome.
The reason might be that Windows one was a newer version, or it is just written better.
http://www.edgewebdesign.org/images/misc/ryan_shadowmetal.gif (http://www.edgewebdesign.org)