Reputation: 117
I want to create a small white div/background at the top of this site. http://bit.ly/ZgawU6
The front page shows it correctly, however I've made this with a background-image. When the same background image is used on a page like this: it's at 50% or something, and top:0 won't work.
Can anyone point me in the right direction?
Thanks!
Upvotes: 0
Views: 45
Reputation: 98
What I did was wrap the div with the class of navigation container with another wrapper div, lets call it outer-navigation-wrapper then applied this css.
HTML:
<div class="outer-navigation-wrapper">
<div class="container navigation-container">
...
</div> <!-- end navigation-container -->
</div> <!-- end outer-navigation-wrapper -->
CSS:
.outer-navigation-wrapper {
background: #fff;
height: 60px;
}
Upvotes: 1