PDA

View Full Version : Templata


mitpod
06-14-2011, 04:41 PM
Working on (tring) DW Template. On Top have 4 image and Search Box from Google. When I save in .dwt and/or .html its OK.
But when I want to open File-> New -> Page from Templete,
open with wrong Search places e.g.. not line up with group on top.
Search box placed in second row.
I am been beeginer and worked to long for this problem. So any sugestion will be welcom. Thank!

index.dwt
<DIV id="top">
<DIV id="top_logo"><A href="http://www.casinopokercoin.com/"><IMG border="0"
alt="Casino Poker Coin" src="/images/logo.jpg" width="288" height="60"></A></DIV>
<DIV id="top_recl"><img src="/images/topr-bg-bw.jpg" width="4" height="60"><img src="images/ruleta_bw.jpg" width="256" height="60" alt="ruleta-bw"><img src="images/topr-bg-bw.jpg" width="4" height="60"><img src="/images/flush-poker35.jpg" width="200" height="60" alt="flush"><img src="images/topr-bg-bw.jpg" width="4" height="60"></DIV>
<!--Search bar -->
<TD align="left">
<TABLE border="0" cellSpacing="0" cellPadding="2">
<TBODY>
<TR>
<TD vAlign="bottom">
<FORM id="cse-search-box" action="http://www.casinopokercoin.com/search.html">
<INPUT name="cx" value="012944054610888216739:yvqtabqnxqc"
type="hidden"><INPUT name="cof" value="FORID:11"
type="hidden"><INPUT name="ie" value="UTF-8"
type="hidden"><INPUT name="q" size="16" type="text"><INPUT name="sa" size="14" value="Search" type="submit">
</FORM>
<SCRIPT type="text/javascript" src="/brand.js"></SCRIPT>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>

<!--End Search bar -->
</DIV>

index.css
#wrapper { margin:0 auto; width:976px; font-size:11px; text-align:left; margin-top:62px; background:#fff; }
#top {
position:absolute;
clear:both;
width:976px;
height:62px;
top:3px;
background-color: #fff;
background-image: url(images/grej-dot.jpg);
background-repeat: repeat;
border-top-width: 1px;
border-bottom-width: 2px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #CCC;
border-bottom-color: #CCC;
}
#top_logo { float:left; width:288px; height:60px; margin-left:5px; margin-top:1px; }
#top_recl { float:left; width:480px; height:60px; margin-top:1px; }