floating/floating header


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* fixed header */
  2.  
  3. BODY.front #twocols { margin-top: 62px; z-index: 10; }
  4. #header {
  5. position: absolute;
  6. top: 0px; left: 0px;
  7. z-index: 1000;
  8. position: fixed;
  9. background: url(images/topbg3.png) top center repeat-x;
  10. }
  11. #header-core { width: 960px; margin-left: auto; margin-right: auto; position: relative; }
  12. BODY { background-image: none; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.