site not displaying correctly

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

oldunion

Thread Starter
Joined
Aug 24, 2004
Messages
213
I have just designed a website which almost exclusively uses css. Here is the issue, in Mozilla on mac, windows, and maybe even linux (dont know about linux) the site displays perfectly. However, on mac with IE the middle section of the page is completely screwed up. it appears much wider than its supposed to be.


Another issue is using safari, there are anchors that do not work.

an accurate portrayal of the site can be found at www.coas.uncc.edu/xiakou


EDIT: i believe the wide page is being generated by the actual text, not by the grey headers at the top of the pages. but nothing in the css file i made should be making it go that route
 

oldunion

Thread Starter
Joined
Aug 24, 2004
Messages
213
any insight at all, even if the code is just looked at by someone who is experienced.
 
Joined
Apr 14, 2001
Messages
2,382
Hello

I looked at your code and there are errors, sorry I cant offer much help because I dont use mac so I can replicate the problems.

Your code has allot of redundant comment tags, perhaps try removing them and clearing all the whitespace. I have included your page, the areas to delete are in red. The red bolded javascript should also be moved into the upper part of the head tag.

I am not positive these will solve your problems ont he mac, but they will clean up your page allot and perhaps make browsers react better.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Xiakou</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
[color=red]<!--[/color]



function mmLoadMenus() {
  if (window.mm_menu_0123020945_0) return;
  window.mm_menu_0123020945_0 = new Menu("root",155,32,"Verdana, Arial, Helvetica, sans-serif",13,"#ffffff","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,false,false);
  mm_menu_0123020945_0.addMenuItem("WEBSITE PROGRAMS","location='programs.htm'");
  mm_menu_0123020945_0.addMenuItem("DESIGN HELP","location='design.htm'");
  mm_menu_0123020945_0.addMenuItem("USEFUL IMAGES","location='images.htm'");
  mm_menu_0123020945_0.addMenuItem("USEFUL FONTS","location='fonts.htm'");
  mm_menu_0123020945_0.addMenuItem("GIS INFORMATION","location='gis.htm'");
  mm_menu_0123020945_0.addMenuItem("HISTORY EXHIBITS","location='exhibits.htm'");
   mm_menu_0123020945_0.hideOnMouseOut=true;
   mm_menu_0123020945_0.menuBorder=1;
   mm_menu_0123020945_0.menuLiteBgColor='#000000';
   mm_menu_0123020945_0.menuBorderBgColor='#ffffff';
   mm_menu_0123020945_0.bgColor='#ffffff';

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  mm_menu_0123020945_0.writeMenus();
} // mmLoadMenus()
[color=red]<!--




<!--




<!--




<!--




<!--




<!--




<!--




<!--




<!--




<!--




<!--




<!--




<!--[/color]



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];}}
}
[color=red]//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->
//-->[/color]
</script>
<script language="JavaScript1.2" src="chapters/work/mm_menu.js"></script>
<style type="text/css">
<!--
@import url(css/style1.css);
-->
</style>
</head>

<body onLoad="MM_preloadImages('chapters/work/NAVBAR1_r2_c1_f2.gif','chapters/work/NAVBAR1_r3_c1_f2.gif','chapters/work/NAVBAR1_r4_c1_f2.gif','chapters/work/NAVBAR1_r5_c1_f2.gif','chapters/work/sidenav_r6_c1_f2.gif')">
<div align="center">
  <table width="743" border="0" bgcolor="#000000">
    <tr align="left">
      <td height="26" bgcolor="#000000" scope="col"><img src="http://forums.techguy.org/images/new_header1.jpg" width="741" height="135"></td>
    </tr>
    <tr align="left">
      <td height="10" bordercolor="#A5A1BA" bgcolor="#000000" class="breadcrumbnav" scope="col"><a href="index.htm">Home</a> </td>
    </tr>
  </table>
  <table width="747" border="0" cellpadding="0" cellspacing="2" bordercolor="#000000" bgcolor="#000000">
    <tr>
      <th width="166" height="332" align="left" valign="top" bgcolor="#710000" scope="col"><div align="justify">
        <p> 
          [b][color=red]<script language="JavaScript1.2">mmLoadMenus();</script>[/color][/b]         	
		<span class="sidenav"><a href="index.htm">Home</a></span><br>
		  <span class="sidenav"><a href="chapters/history/history.htm">History</a></span><br>
		  <span class="sidenav"><a href="chapters/landscape/landscape.htm">Landscape</a></span><br>
		  <span class="sidenav"><a href="chapters/belief/belief.htm">Belief</a></span><br>
		  <span class="sidenav"><a href="chapters/cultural_life/culture.htm">Cultural Life</a></span><br>
          <span class="sidenav"><a href="chapters/authority/authority.htm">Authority</a></span><br>
        <span class="sidenav"><a href="chapters/work/work.htm">Work</a></span><br>
        <span class="sidenav"><a href="chapters/village/village.htm">Village</a></span><br>
        <span class="sidenav"><a href="chapters/gazetteer/gazetteer.htm">Gazetteer</a></span><br>                     
        <span class="sidenav"><a href="resources/resources.htm">Resources</a></span><br>
        <span class="sidenav"><a href="search.htm">Search </a></span><br>
        </p>
      </div></th>
	  <!-- change bgcolor directly below for the main body color -->
      <td width="575" height="332" bgcolor="#faff9d" scope="col"><div id="essay"><span class="chapternav"><a href="thewayin.htm">The 
          Way In </a> <span class="vertbar"> </span></span></div>
        <div id="bodytext"> 
          <h1><span> Landscape and Power in a Sichuan Mountain Village </span></h1>
          <p> Xiakou (pronounced sha-ko) is a village located in the mountains 
            of Ya'an county, in western Sichuan province, in the People's Republic 
            of China. This project is an ethnography that explores Xiakou as place, 
            understood as the historical interaction of the local people and their 
            landscape. The scope of that place goes beyond the village to encompass 
            the communities along the North Road, running forty kilometers from 
            the county seat of Ya'an to the White Horse Temple. The project is 
            also a reflection on our own engagement with place, and our relationships 
            with the people of Xiakou. <br>
            <br>
            The ethnography aims to ask big questions in a small place, through
            essays localizing the broad trends of China's modern history in the
            lived experiences of Xiakou's villagers, and to evoke a sense of
            place through an archive of digital media-scanned documents, photographs,
            audio and video recordings, digital maps-gathered over the last twelve
            years of fieldwork. The digital format of the project encourages
            the reader to explore the complex inter-connections which we have
            found so striking in our encounter with this place; thus the eight
            chapters are not airtight divisions, but rather represent a variety
            of angles for telling what is essentially the same story: the story
            of the lives of the people who live on the North Road as seen through
            their interactions with two foreigners. </p>
          <p>&nbsp;</p>
        </div></td>
    </tr>
  </table>
  
</div>

<div align="center">
  <table width="747" border="0" bgcolor="#000000">
    <tr>
      <td width="732" align="left" valign="baseline" scope="col"><span class="style1"><span class="footerlink">2005 James Heck</span></span></td>
    </tr>
  </table>
</div>
</body>

</html>
 

oldunion

Thread Starter
Joined
Aug 24, 2004
Messages
213
Thanks a lot for the reply, it does clean up the code but unfortunately the display is still crazy on a mac with ie.
 
Joined
Apr 14, 2001
Messages
2,382
Have you updated your page inthe link above, it is till displaying the same errors?

I suspect that your menu javascript is the problem, it is returning errors; Line 11, character 3-Menu is undefined.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top