por razones de menu y fondo tengo que hacer una web con frames centrada en la pantalla...
lo he desarollado asi:
principal:
Código:
<html>
<head>
<title>PVargas</title>
</head>
<body background="img/bground.jpg" leftmargin="0" topmargin="0">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="100%" align="center" valign="middle">
<iframe name="web" src="frames.html" width="968" height="577" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" ALLOWTRANSPARENCY="true"></iframe>
</td>
</tr>
</table>
</body>
</html>
asi centro el diseño en la pantalla y ya tengo el fondo (un degradado...)
los frames:
Código:
<html>
<head>
<title>PVargas</title>
</head>
<!-- frames -->
<frameset cols="173,*" framespacing="0" frameborder="no" ALLOWTRANSPARENCY="true">
<frame src="menu.html" name="menu" id="menu" frameborder="0" scrolling="No" noresize marginwidth="0" marginheight="0" style="background-color: transparent;" ALLOWTRANSPARENCY="true">
<frame name="contenido" src="contenido.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize style="background-color: transparent;" ALLOWTRANSPARENCY="true">
</frameset>
<!-- / frames -->
<noframes>
<body leftmargin="0" topmargin="0" STYLE="background-color:transparent"> >
</body>
</noframes>
<!-- frames -->
</html>
y el menu que no consigo que sea transparente:
Código:
<html>
<head>
<title>PVargas</title>
<!--[if gte IE 5.5000]>
<script type="text/javascript" src="png.js"></script>
<![endif]-->
</head>
<body leftmargin="0" topmargin="0" style="background-color: transparent;">
<table width="173" cellspacing="0" cellpadding="0" border="0" style="background-color: transparent;">
<tr>
<td width="173" heifht="577" align="left" valign="top" style="background-color: transparent;">
<img src="img/logo.png" alt="" width="173" height="75" border="0">
<br>
<!-- MENU -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="173" height="480" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="swf/menu.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#1e2f3f" />
<param name="wmode" value="transparent">
<param name="menu" value="false">
<embed src="swf/menu.swf" quality="high" bgcolor="#1e2f3f" width="173" height="480" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<!-- / MENU -->
</td>
</tr>
</table>
</body>
</html>
ne cesito que el menu sea transparente para que no se vea corte con el fondo...