Hola aqui estoy porfavor ayudame no lo entiendo
este es un index.php
Código HTML:
Ver original<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="
<?php echo $this->language; ?>" >
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/system/css/general.css" type="text/css" />
<link href="css/template.css" rel="stylesheet" type="text/css" />
function vaciar_img(){
var doc = document.getElementById('[COLOR="YellowGreen"]midiv[/COLOR]');
doc.style.background=" ";
};
<jdoc:include type="modules" name="headerSidebar" style="xhtml" />
<div id="head_contenedor"> <div id="header" onclick="location.href='http://localhost/pagina_psd/index.php'"> <jdoc:include type="modules" name="head_contenedor" style="xhtml" />
<jdoc:include type="modules" name="headerSearch" style="xhtml" />
<div id ="menu"> <jdoc:include type="modules" name="menu" /> </div> <jdoc:include type="modules" name="contenedor" style="xhtml" />
<div id="[COLOR="YellowGreen"]contendor_contedino_sidebar[/COLOR]" onclick="vaciar_img();"> <jdoc:include type="modules" name="contendor_contedino_sidebar" style="xhtml" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="sidebar" style="xhtml" />
<jdoc:include type="modules" name="contentop" style="xhtml" />
<div id="contenttop_sidebar"> <jdoc:include type="modules" name="contenttop_sidebar" style="xhtml" />
<div id="footer"> © 2011 Aoma
& <a href="http://www.google.com" target="_blank">pagina</a> <jdoc:include type="modules" name="footer" style="xhtml" />
</div>
</div>
</body>
</html>
template.css
Código CSS:
Ver original/*ESTILOS DE */
#body{
width:1259px;
margin: 20px auto;
background-color: #FFF;
box-shadow: #202020 0.3em 0.3em 0.3em;
position:static;
}
#head_contenedor{
width:998px;
height:266px;
}
#header{
width:832px;
height:266px;
float:left;
cursor:pointer;
background-image:url(../images/header.jpg);
background-repeat: no-repeat;
}
#headerSearch {
width:164px;
float:right;
height:265px;
position: static;
text-align:center;
}
#headerSidebar{
height: 300px;
width: 261px;
float:right;
}
#menu{
max-width:998PX;
min-width:998px;
height:34px;
background-image: url(../images/barra_menu.jpg);
text-align:center;
margin-top: auto;
}
#contenedor{
width:1259px;
min-height:563px;
overflow:auto;
float:right;
overflow-x: hidden;
background-image: url(../images/content.jpg);
background-repeat:no-repeat;
}
#contenedor {
width:966px;
min-height:400px;
float:left;
font-family: Helvetica,Arial,sans-serif;
color:#666;
overflow-y: hidden;
overflow-x: hidden;
padding-top:1.5em;
margin-left: 1em;
margin-right:1em;
}
#contendor_contedino_sidebar{
min-height:430px;
width:1259px;
float:right;
}
#contentop {
width:998px;
height:124px;
float:left;
background-image: url(../images/contenttop.jpg);
background-repeat: no-repeat;
}
#sidebar {
width:261px;
min-height:444px;
float:right;
position: inherit;
background-color: #005b7f;
margin-left:auto;
margin-right:auto;
overflow: inherit;
overflow-y: hidden;
}
#contenttop_sidebar{
width:261px;
min-height:124px;
background-color: #005b7f;
float: right;
}
#footer_contenedor{
width:1259px;
height:18px;
}
#footer {
width:1259px;
height:18px;
color:#FFF;
left:auto;
background-position:685px;
font-family: Helvetica,Arial,sans-serif;
font-size:11px;
padding-top:6px;
background-color: #6d6f71;
text-align:center;
clear:both;
}