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,472
There are 2042 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Xhtml move to the right!

Thread title: Xhtml move to the right!
Closed Thread    
    Thread tools Search this thread Display Modes  
05-10-2005, 01:34 AM
#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  Xhtml move to the right!

I am having a slight problem well I hope its a slight one. I am adding a right column on http://web.hostinglibrary.com as you can see its right next to the left column when it should be over the other side. I have played around with the code and it just keeps going there.

Here is the code
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"><a href="index.php">home</a></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"><a href="index.php?do=sitemap">sitemap</a></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"><a href="contact.html">contact</a></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"><a href="/index.php"><img src="hb_comp1_16.gif" alt="home" width="97" height="37" border="0" /></a><a href="/index.php?advsearch"><img src="hb_comp1_17.gif" alt="search" width="96" height="37" border="0" /></a><a href="/stats.php"><img src="hb_comp1_18.gif" alt="statistics" width="98" height="37" border="0" /></a><a href="/support"><img src="hb_comp1_19.gif" alt="forums" width="92" height="37" border="0" /></a><a href="http://tutorials.hostinglibrary.com/15.html"><img src="hb_comp1_20.gif" alt="submit" width="122" height="37" border="0" /></a></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>
$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 valign="top"  id="nav_right">
   <div style="width:200px">
  $layout[right]
   </div>
  </td>
  <td id="content" width="100%" valign="top">
  <!-- content -->
The actual right column is the bottom bit of that html code called $layout[right]

I really do appreciate the help

05-10-2005, 01:51 AM
#2
sysblnk is offline sysblnk
Status: I love this place
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 640
iTrader: 0 / 0%
 

sysblnk is on a distinguished road

  Old

You simply have the right column before the center column. If you put the column after the content it should work perfectly. (The right<td> after the content </td>)

05-10-2005, 01:53 AM
#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

Edit:testing

05-10-2005, 01:55 AM
#4
sysblnk is offline sysblnk
Status: I love this place
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 640
iTrader: 0 / 0%
 

sysblnk is on a distinguished road

  Old

It's the same thing. If there is a template system youd probably have to take the right column and put it in the footer.

05-10-2005, 01:56 AM
#5
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

Hmm that just made the center go away..

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"><a href="index.php">home</a></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"><a href="index.php?do=sitemap">sitemap</a></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"><a href="contact.html">contact</a></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"><a href="/index.php"><img src="hb_comp1_16.gif" alt="home" width="97" height="37" border="0" /></a><a href="/index.php?advsearch"><img src="hb_comp1_17.gif" alt="search" width="96" height="37" border="0" /></a><a href="/stats.php"><img src="hb_comp1_18.gif" alt="statistics" width="98" height="37" border="0" /></a><a href="/support"><img src="hb_comp1_19.gif" alt="forums" width="92" height="37" border="0" /></a><a href="http://web.hostinglibrary.com/15.html"><img src="hb_comp1_20.gif" alt="submit" width="122" height="37" border="0" /></a></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>
$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 -->
<td valign="top"  id="nav_right">
   <div style="width:200px">
  $layout[right]
   </div>
  </td>

05-10-2005, 01:59 AM
#6
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

Well THANKS ALOT! Your footer plan worked well

05-10-2005, 02:00 AM
#7
sysblnk is offline sysblnk
Status: I love this place
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 640
iTrader: 0 / 0%
 

sysblnk is on a distinguished road

  Old

Awesome to hear that!

Closed Thread    


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

  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