Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2010
    Messaggi
    12

    integrazione con pagina dinamica

    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 :
    codice:
    <div id="bottom" >  
    <div id="navcontainer"> 
    <ul id="navlist"> [*]Terms of Use [*]Privacy Policy [*]Contact Us[*]About Us[/list]
    </div> 
    <span id="diritti">
     <%= server.htmlencode("© 2010") %> www.SearchforBuy.com - Copyright <%= server.htmlencode("© ") %>  www.SearchforBuy.com 
    <%= server.htmlencode("© 2010") %> Taffly.com - Copyright <%= server.htmlencode("© ") %>  Taffly.com</span></div>
    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 &amp; 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...

  2. #2
    Amministratore L'avatar di Vincent.Zeno
    Registrato dal
    May 2003
    residenza
    Emilia-Romagna (tortellini und cappelletti land!)
    Messaggi
    20,802

    Re: integrazione con pagina dinamica

    Originariamente inviato da fielpo22

    spero di aver inserito il codice in maniera corretta...
    quasi... il tag è corretto ma dovresti indentare il codice.
    così risulta illeggibile e le probabilità di ottenere aiuto scendono

  3. #3
    Utente di HTML.it
    Registrato dal
    Jun 2010
    Messaggi
    12
    fatto spero sia ok adesso

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.