[FM Discuss] update

tar.gz tar.gz at 1904.cc
Mon Jun 21 07:41:20 PDT 2010


here's a little proposal for the booki.cc landing page css code:

you will notice that in most browsers you permanently see a horizontal scrollbar at the bottom. this is because the header element at the top of the page fills the window at 100%, than adds 5 pixels of shadow on the right side.

the easy way to get rid of the scrollbar is to add the following rule in the css stylesheet:

.topbar.shadow {
  -moz-box-shadow: -5px 4px 5px #848284;
  -webkit-box-shadow: -5px 4px 5px #848284;
  box-shadow: -5px 4px 5px #848284;
  /*not tested in IE, maybe you need to change the Direction value for -ms-filter*/
}

result: this moves the shadow to the left side, so the scrollbar won't show up.

best,
manuel



More information about the Discuss mailing list