Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 661 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Please help!

Thread title: Please help!
Closed Thread    
    Thread tools Search this thread Display Modes  
05-05-2005, 05:01 PM
#1
Stephen is offline Stephen
Status: Sin Binner
Join date: Jan 2005
Location: Great Britain
Expertise:
Software:
 
Posts: 1,106
iTrader: 0 / 0%
 

Stephen is on a distinguished road

Send a message via AIM to Stephen Send a message via MSN to Stephen

  Old  Please help!

What in the world have I have done wrong in this coding, I want to get it XHTML validated except everytime I fix one thing then It breaks somthing else please help me.

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>$site[name] $site[title]</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
{custom_meta_tags}
{IF:$settings[style_external_css] == 1}
<link rel="stylesheet" type="text/css" href="$cssfile">
{/IF}
{ELSE}
<style type='text/css'>
$cssfile

{/ELSE}

$layout[head]
$layout[wysiwyg]



</style>


<script type="text/javascript" language="JavaScript1.2" src="stm31.js">
<!--
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];}}
}

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];}
}
//-->
</script>
</head>

<body onload="MM_preloadImages('images/hb_comp3_82.gif')">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="4"><table width="780" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="677"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="5%"><div align="center"><img src="images/hb_comp1_97.gif" alt="alt" width="16" height="32" /></div></td>
            <td width="6%" class="features">home</td>
            <td width="5%"><div align="center"><img src="images/hb_comp1_97.gif" alt="alt" width="16" height="32" /></div></td>
            <td width="7%" class="features">sitemap</td>
            <td width="5%" class="features"><div align="center"><img src="images/hb_comp1_97.gif" alt="alt" width="16" height="32" /></div></td>
            <td width="72%" class="features">contact</td>
          </tr>
        </table></td>
        <td width="103" rowspan="2"><img src="images/hb_comp1_06.gif" width="126" height="146" alt="" /></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr class="logo_background">
              <td width="34%" class="logo_background"><div align="center"><img src="images/hb_comp1_09.gif" width="104" height="114" alt="" /></div></td>
              <td width="66%"><div align="right"><img src="images/hb_comp1_11.gif" width="19" height="114" alt="" /><img src="images/hb_comp1_12.gif" width="249" height="114" alt="" /><img src="images/hb_comp1_13.gif" width="162" height="114" alt="" /></div></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2"><table width="780" border="0" cellspacing="0" cellpadding="0">

            <tr>
              <td width="14"><img src="images/hb_comp1_14.gif" width="8" height="37" alt="" /></td>
              <td width="714"><div align="right">
                  <script type="text/javascript" language="JavaScript1.2" src="menu.js"></script>
              </div></td>
              <td width="36">&nbsp;</td>
              <td width="16">&nbsp;</td>
            </tr>
        </table></td>
      </tr>
<tr>
<table border="0" cellpadding="0" cellspacing="0" id="wrapper" align="center"> 
  <td>
<body $layout[bodyadditional]>
  </td>
</tr>
<tr style="height:100%">
<td style="height:100%" valign="top">
<table border="0" cellpadding="4" cellspacing="0" align="center" width="100%" style="height:100%">
<tr style="height:100%" valign="top">
  <td valign="top"  id="nav_left">
   <div style="width:200px">
   $leftnav
   </div>
  </td>
  <td id="content" width="100%" valign="top">
  <!-- content -->
Thanks!!

05-05-2005, 05:06 PM
#2
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

you've tried validating it then => posting what the error is might help.

05-05-2005, 05:07 PM
#3
Stephen is offline Stephen
Status: Sin Binner
Join date: Jan 2005
Location: Great Britain
Expertise:
Software:
 
Posts: 1,106
iTrader: 0 / 0%
 

Stephen is on a distinguished road

Send a message via AIM to Stephen Send a message via MSN to Stephen

  Old

05-05-2005, 06:15 PM
#4
Chris Gwynne is offline Chris Gwynne
Status: Sin Binner
Join date: Jan 2005
Location: Wales
Expertise:
Software:
 
Posts: 76
iTrader: 0 / 0%
 

Chris Gwynne is on a distinguished road

Send a message via AIM to Chris Gwynne Send a message via MSN to Chris Gwynne Send a message via Yahoo to Chris Gwynne

  Old

You have body twice. A few unclosed tags. And more.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed