Visa ett inlägg
Gammal 2006-07-21, 16:52   #12
leoj
Medlem
 
Reg.datum: Sep 2002
Ort: Stockholm, Sweden
Inlägg: 1 430
Standard

nu fungerar den jätte bra eller ngt...

iaf inga konsiga kodsnuttar

typ... där du ser att jag lagt till saker längst ner... ändra där som du vill (men se till att allt som du lägger till hamnar i den sista <div> och inte utanför!!!!!!!!!!!!!!!!!!!!

HTML-kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Untitled Page</TITLE>
<SCRIPT type="text/javascript">
<!--
function SwapImage()
{
   var doc=document, args=arguments;
   doc.$imgSwaps = new Array();
   for(var i=2; i<args.length; i+=2)
   {
      var elem=FindObject(args[i]);
      if(elem)
      {
         doc.$imgSwaps[doc.$imgSwaps.length]=elem;
         elem.$src=elem.src;
         elem.src=args[i+1];
      }
   }
}

function FindObject(id, doc)
{
   var child, elem;
   if(!doc)
      doc=document;
   if(doc.getElementById)
      elem=doc.getElementById(id);
   else
   if(doc.layers)
      child=doc.layers;
   else
   if(doc.all)
      elem=doc.all[id];
   if(elem)
      return elem;
   if(doc.id==id || doc.name==id)
      return doc;
   if(doc.childNodes)
      child=doc.childNodes;
   if(child)
   {
      for(var i=0; i<child.length; i++)
      {
         elem=FindObject(id,child[i]);
         if(elem)
            return elem;
      }
   }
   var frm=doc.forms;
   if(frm)
   {
      for(var i=0; i<frm.length; i++)
      {
         var elems=frm[i].elements;
         for(var j=0; j<elems.length; j++)
         {
            elem=FindObject(id,elems[i]);
            if(elem) return elem;
         }
      }
   }
   return null;
}
// -->
</SCRIPT>

</HEAD>
<BODY bgcolor="#6F6F6F" text="#000000" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
<DIV style="position:absolute;left:0px;top:1px;width:1003px;height:78px;z-index:0" align="left">
  <img border="0" src="http://web.telia.com/~u85213734/logo.gif" alt="" width="1003" height="76">
</DIV>
<DIV style="position:absolute;left:0px;top:79px;width:1003px;height:41px;z-index:1" align="left">
 <IMG src="http://web.telia.com/~u85213734/bv01023.gif" align="top" alt="" border="0" width="1003" height="41">
</DIV>
<DIV style="position:absolute;left:8px;top:89px;width:90px;height:97px;z-index:3" align="center">
 <TABLE border="1" cellpadding="0" cellspacing="0">
  <TR>
   <TD align="left" valign="top" width="134" height="22">
   <a href="http://web.telia.com/~u85213734"><IMG id="bv01025" src="http://web.telia.com/~u85213734/bv01025.gif" alt="http://" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01025','http://web.telia.com/~u85213734/bv01025_over.gif')" onmouseout="SwapImage(0,0,'bv01025','http://web.telia.com/~u85213734/bv01025.gif')"></a>
   </TD>
   <TD width="4">
   </TD>
   <TD align="left" valign="top" width="134" height="22">
   <a href="http://web.telia.com/~u85213734/spelet.html"><IMG id="bv01029" src="http://web.telia.com/~u85213734/bv01029.gif" alt="http://" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01029','http://web.telia.com/~u85213734/bv01029_over.gif')" onmouseout="SwapImage(0,0,'bv01029','http://web.telia.com/~u85213734/bv01029.gif')"></a>
   </TD>
   <TD width="4">
   </TD>
   <TD align="left" valign="top" width="134" height="22">
   <a href="http://web.telia.com/~u85213734/downloads.html"><IMG id="bv01030" src="http://web.telia.com/~u85213734/bv01030.gif" alt="http://" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01030','http://web.telia.com/~u85213734/bv01030_over.gif')" onmouseout="SwapImage(0,0,'bv01030','http://web.telia.com/~u85213734/bv01030.gif')"></a>
   </TD>
   <TD width="4">
   </TD>
   <TD align="left" valign="top" width="134" height="22">
   <a href="http://www.webvoter.net/se/community/index.php?community_id=4307"><IMG id="bv01090" src="http://web.telia.com/~u85213734/bv01090.gif" alt="http://" align="top" border="0" width="134" height="22" onmouseover="SwapImage(1,0,'bv01090','http://web.telia.com/~u85213734/bv01090_over.gif')" onmouseout="SwapImage(0,0,'bv01090','http://web.telia.com/~u85213734/bv01090.gif')"></a>
   </td>
  </tr>
 </table>
</DIV>
<div style="position:absolute;left:0px;top:120px;width:1003px;z-index:4">
<p><font color="#FFFFFF"><b>Fel på sidan!</b></font></p>
skriv nu vad du vill här typ :)
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
</div>
</BODY>
</HTML>
den blev tom validerad iaf enl. html standard... men orka göra om till xhtml...
__________________
/Leoj
Jaudidamdamdubidamdam
leoj besöker inte forumet just nu   Svara med citat