views:

49

answers:

1

I am going through the awesome Rails Tutorial http://railstutorial.org/chapters/filling-in-the-layout#sec:custom_css I've run into an issue with the Navigation dropping down into the body of the page, but this only happens in Chrome (I'm on Linux, Ubuntu 10.10 if that matters). Here is a screenshot and a URL to show you actually what the navigation looks like before and after as I really can't explain it as well as I'd like. If I refresh a couple of times in Chrome it drops down the page like the "after" image I uploaded.

Here is a URL to the web page so you can recreate it: http://afternoon-wind-61.heroku.com/pages/home

Here are my screeshots as well: Before: http://yfrog.com/6pchromebefore02p After: http://yfrog.com/n2chrome02afterp

Try it in Chrome, Firefox and IE as well.

Any insight in why this is happening would be appreciated.

Thanks

A: 

Adding <%= javascript_include_tag :defaults %> in /app/views/layouts/application.html.erb solved this issue for me.

Jonas Hellgren