Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  
dubwisejah

Include numa div

Recommended Posts

dubwisejah

Boas eu tenho uma div e queria incluir um menu que esta noutra pagina em html mas, n está a resultar n sei se e possivel da maneira que tenho.

<html>
<head>
<title>Gaiato Parreira Unipessoal</title>
<link href="style1.css" rel="stylesheet" type="text/css" media="screen" />
<style type="text/css">body {
background-color: #627722;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body>
<div id="head0"></div>
<div id="header">
<div id="menu">
	<ul>
		<li><a href="#" class="first"></a></li>
		<li class="current_page_item"><a href="#"></a></li>
		<li><a href="#"></a></li>
		<li><a href="#"></a></li>
		<li><a href="#"></a></li>
	</ul>
</div>
<!-- end #menu -->
<div id="search">
	<form method="get" action="">
		<fieldset>
			<input type="text" name="s" id="search-text" size="15" />
		</fieldset>
	</form>
</div>
<!-- end #search -->
</div>
<div id="header2"></div>
<div id="menuop">
<table width="100%" border="0">
  <tr>
    <td><?php include "menu.html"; ?></td>
  </tr>
</table>

</div>
</body>
</html>

Share this post


Link to post
Share on other sites
dubwisejah

Ja consegui estava tudo certo o meu pc e que estava a gozar comigo, como achei estranho fui criar um ficheiro php só com um echo e nem isso ele fazia, reiniciei e ja deu. Está a percisar de reforma haha

Obrigado na mesma

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.