Hi,
I've been using t2 horizontal menu and would like to use the same
feature 'coz it looks a lot better than the horizontal menu of web2py
ver. 1.66. Can somebody help modify the following t2 style.css:
/* Menu */
#menu {
width: 920px;
height: 50px;
margin: 0 auto;
}
#menu ul {
margin: 0;
margin-right: 30px;
padding: 0;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
}
#menu a {
padding: 5px 20px 5px 20px;
text-transform: uppercase;
text-decoration: none;
font-family: Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #FFFFFF;
}
#menu a:hover, #menu .current_page_item a {
background: #566316;
color: #FFFFFF;
}
This is how the code is used in t2:
{{=t2.menu(response.menu)}}
Thanks in advance.
ed
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---