ciao a tutti, spero sia la sezione adatta dove postare il mio problema.
allora ho 2 pagine dinamiche in asp, un'header e un bottom, a cui vorrei il design con del semplice codice html, ma visto che non mastico codice non riesco a venirne a capo..
1°header
r
codice:
<head>
<title>www.Searchforbuy.com - Search and compare</title>
<meta http-equiv="content-type" content="text/html;charset=windows-1252" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css"> .style1 {
text-align: center; }
</style>
</head>
<body topmargin="1" leftmargin="1" rightmargin="1" bottommargin="1">
<table border="0" width="1003" style="margin-top:0px;" cellspacing="0" cellpadding="0" height="141">
<tr>
<td width="199" style="padding-left:5px;" rowspan="2">
<a href="/default.asp">
[img]/img/logo_sxb.jpg[/img]</a></td>
<td width="176" height="141" rowspan="2">
<p style="margin-top: 0">
</p>
<p style="margin-top: 0"> </td>
<td width="12" height="63" background="/images/searchBarLeft.jpg"></td> <td width="499" height="63" height="58" background="/images/searchBarBg.jpg"><div id="ricerca" >
<form style="margin:0px;" method="post" id="form1" onsubmit="return check_key();">
<input type="text" name="key" style="width:333; height:26" id="key" value="<%=key_ok%>" ><input type="submit" value="SEARCH" style="padding-top:0px;" ></div></td>
<td width="13" height="63" background="/images/searchBarRight.jpg"></td> <td width="69" height="63"></td> </tr>
<tr> <td width="12" height="78"></td>
<td width="499" height="78"></td>
<td width="18" height="78"></td>
<td width="69" height="78"></td> </tr>
</table>
vorri sostituire la grafica con questo, (io ho provato, ma riesco a farlo apparire solo in home, non mi appare nelle altre pagine, quindi in modo dinamico:
codice:
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="27" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>[img]images/clock.png[/img]</td>
<td class="time">8am - 6pm opning hours</td>
</tr>
</table></td>
<td align="right" class="top_menu_1" style="padding:0px 15px 0px 0px;">Home | About Us | Contact US</td> </tr>
</table></td>
</tr>
<tr>
<td height="144" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1" height="140" valign="bottom">[img]images/logo.jpg[/img]</td>
<td valign="bottom"><table width="95%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<form action="#" method="post">
<table width="400" border="0" align="left" cellpadding="0" cellspacing="0"> <tr>
<td width="1">[img]images/search_bar_left.jpg[/img]</td>
<td style="background-image:url(images/search_bar_bg.jpg);">
<input name="textfield" type="text" class="field" id="textfield" onfocus="if(this.value==' Enter Key word'){this.value=''}" onblur="if(this.value==''){this.value=' Enter Key word'}" value=" Enter Key word" size="30" />
</td>
<td width="1">[img]images/search_icon.jpg[/img]</td> </tr> </table> </form> </td> </tr>
mentre il bottom :
con questo:
codice:
<tr>
<td align="left" valign="top" style="padding:10px 0px 0px 0px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>[img]images/box_style.jpg[/img]</td> </tr> <tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr>
<td width="1" bgcolor="#CFCFCF">[img]images/spacer.gif[/img]</td>
<td style="background-image:url(images/bot_menu_bg.jpg); height:26px;"><span class="top_menu_1" style="padding:0px 0px 0px 15px;">Home | About Us | Contact U</span></td>
<td width="1" bgcolor="#CFCFCF">[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3" bgcolor="#cfcfcf">[img]images/spacer.gif[/img]</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="144" align="left" valign="top" style="padding:10px 0px 0px 0px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160">[img]images/bot_logo.jpg[/img]</td> <td width="2" bgcolor="#e1e1e1">[img]images/spacer.gif[/img]</td>
<td class="other_heading">[img]images/spacer.gif[/img]</td>
<td class="other_heading">Copyrights © 2010-11 Search for Buy All rights reserved.
Web Designed & Developed By GRAFTEK.NET</td>
<td valign="middle" class="other_heading">[img]images/follow_us.jpg[/img]</td>
</tr>
</table></td>
</tr> </table></td>
</tr> </table>
</body>
</html>
spero di aver inserito il codice in maniera corretta...