4 Replies Latest reply on Mar 24, 2010 9:49 AM by WRobN1

    Why does this html code doesnt work?


      Hello im wondering why i cant import this code into DW;


      Normally if i put it into a new html doc like this;





      It works great.


      But i want it in this code;



      <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- TemplateBeginEditable name="doctitle" --> <title>Wientjes Voegwerk & Renovatie</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable --> <link href="../WientjesStyle.css" rel="stylesheet" type="text/css" /><!--[if IE]> <style type="text/css"> /* place css fixes for all versions of IE in this conditional comment */ .twoColHybLtHdr #sidebar1 { padding-top: 30px; } .twoColHybLtHdr #mainContent { zoom: 1; padding-top: 15px; } /* the above proprietary zoom property gives IE the hasLayout it may need to avoid several bugs */ </style> <![endif]--> <style type="text/css"> <!-- body {      background-image: url(); } --> </style></head> <body class="twoColHybLtHdr">   <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style> <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr> <td style="padding-right:0px" title ="Home"> <a href="www.home.com" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td> </tr></table> <div id="container">   <div id="header">     <h1><img src="../Pictures/VoegenRenLos.png" alt="Wientjes Voegwerk &amp; Renovatie" width="750" height="70" align="middle" /><img src="../Pictures/WientLogo.png" alt="Wientjes Voegwerk &amp; Renovatie" width="750" height="170" align="middle" /></h1>   <!-- end #header --></div>   <div id="sidebar1">     <h3>MENU;</h3>


          <p>info</p>     <p>Gallerij</p>     <p>Contact</p>



      So i want to replace the red text with the active button.


      But all it does is messing up the whole page.

      The page becomes black and all backgrounds are gone even as text.


      How can i use this code in the doc im working on????