Fabriziopt
Power Member
Boas
Estou a fazer uma página do meu site com o código seguinte:
Mas a Layer 2 não aparece nem orespectivo texto..
Alguem me pode ajudar ?
Abraço
Estou a fazer uma página do meu site com o código seguinte:
Código:
<style type="text/css">
<!--
#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 1070px;
top: 215px;
background-image: url(login.jpg);
}
-->
</style>
<style type="text/css">
}
-->
</style>
<style type="text/css">
<!--
#Layer2 {
position:absolute;
width:996px;
height:317px;
z-index:1;
top: 190px;
background-image: url(fundo.jpg);
left: 21px;
}
-->
</style>
<div align="right"><img src="principal.jpg" width="1260" height="200" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="59,153,123,187" href="index.php">
<area shape="rect" coords="210,157,280,194" href="artigos.php">
<area shape="rect" coords="376,149,461,189" href="contacto.php">
<area shape="rect" coords="577,152,660,195" href="registo.php">
</map>
</div>
<div id="Layer1">
<?php
session_start();
if(!isset($_SESSION['nome'])) {
?>
<body text="#FFFFFF" ><font face="candara"><p align="center">
Login
</p>
<body text="#FFFFFF" ><font face="candara"><p align="left">
<form method=post action=auth.php>
Nome: <input type=text name=\"nome\" size="6"> <br>
Password: <input type=password name=\"password\" size="6">
<BR>
<input type="image" src="ok.jpg" name="ok">
</form>
</body></font></p>
<?php
exit;
}
else {
?>
<body text="#FFFFFF">
<?php
echo "Bem vindo";
echo $_SESSION['nome'];
// fechar ligação mysql
mysql_close();
}
?>
<div id="Layer2"><br>
<font size=3 face=candara>
<p>Bla Bla Bla</p>
<p> </p>
<p> </p>
<p> </p>
</font>
</div>
Mas a Layer 2 não aparece nem orespectivo texto..
Alguem me pode ajudar ?
Abraço