my main.css is:
*{
width:800px;
}
#content {
display: block;
margin:0 auto 0 auto; width:390px;
}
#footer {
bottom: 0px;
background-color: #8090ee;
text-align: center;
position: fixed;
z-index: 99999;
}
h1, p {
margin-bottom: 20px;
}
#header {
background-color: #8090ee;
height:105px;
vertical-align:top;
}
ul.nav{
list-style:none;
font: bold 100% arial;
}
ul.nav li{
display:block;
position:relative;
padding:1px 20px;
background:#8888ff;
border-right:1px solid blue;
border-bottom:1px solid blue;
border-top:1px solid #ccccff;
border-left:1px solid #ccccff;
width:80px;
}
ul.nav ul{
position:absolute;
left:40px;
top:-1px;
display:none;
list-style:none;
}
ul.nav > li > ul{
position:absolute;
left:-41px;
top:22px;
display:none;
list-style:none;
}
ul.nav li:hover{
background:#aaaaff;
border-right:1px solid #ccccff;
border-bottom:1px solid #ccccff;
border-top:1px solid blue;
border-left:1px solid blue;
}
ul.nav li:hover > ul{
display:block;
}
ul.nav > li{
display:inline;
}
.menu_a{
text-decoration: none;
}
and I only make a layout.php very easy because I'm a begining:
<!-- apps/frontend/templates/layout.php -->
<!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="en" lang="en">
<head>
<title>TeleInf Group</title>
<?php echo include_http_metas() ?>
<?php echo include_metas() ?>
<?php echo include_title() ?>
<link rel="shortcut icon" href="/icecube.ico" />
</head>
<body>
<div id="content">
<div id="header">
<img align="center" src="/images/logo.jpg" width="10" height="100" >
</div>
<?php include_partial('global/menu');?>
<?php echo $sf_data->getRaw('sf_content') ?>
<div id="footer">
Copyright © 2010 <br>Designed by Veronica Goig Serena
</div>
</div>
</body>
</html>
_menu.php is only a combination between ul and li:
<?php use_helper('I18N'); ?>
<div >
<ul class="nav">
<li><?php echo link_to('Informacion','default/index','class=menu_a');?
></li>
<li><?php echo link_to('Investigacion','default/
index','class=menu_a');?></li>
<li><?php echo link_to('Grupos','default/index','class=menu_a');?>
<ul>
<li><?php echo link_to('ARROBA','default/index','class=menu_a');?></
li>
</ul></li>
<li><?php echo link_to('Eventos/Noticias','default/
index','class=menu_a');?></li>
</ul>
</div>
I don't know why this image appears. Thanks for help me.
On 13 mar, 16:53, Damien Alexandre <[email protected]> wrote:
> Niiice :-)
>
> Refresh with Ctrl + F5
> and if the problem persist, send the XHTML / CSS used.
>
> It's not a symfony issue btw.
>
> Bye
>
>
>
> On Sat, Mar 13, 2010 at 3:05 PM, <[email protected]> wrote:
> > Since I changed layout.php in config file, I have had a big problem.
> > A enormous sf appears on the page.
> > Can anyone help me?
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<symfony-users%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en
>
> --
> Damien ALEXANDRE
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en