Fixed display bug in menu when using IE. Closes #15

This commit is contained in:
Benjamin Meichsner 2009-06-19 21:38:51 +02:00
parent 2af35e55bc
commit d2efe64343
3 changed files with 20 additions and 0 deletions

View file

@ -5,6 +5,9 @@
%title= "FoodSoft - " + (yield(:title) or controller.controller_name)
= stylesheet_link_tag 'foodsoft'
= stylesheet_link_tag "print", :media => "print"
<!--[if lte IE 7]>
= stylesheet_link_tag 'ie_hacks'
<![endif]-->
= javascript_include_tag 'prototype'
= javascript_include_tag 'effects'
= javascript_include_tag 'controls'

View file

@ -0,0 +1,8 @@
#nav {
text-align: left; }
#nav ul {
margin: 0; }
#nav ul li.current a:hover {
color: #fff; }
#nav ul li.current ul {
width: 100%; }

View file

@ -0,0 +1,9 @@
#nav
text-align: left
ul
margin: 0
li.current
a:hover
color: #fff
ul
width: 100%