CSS Minimum Height
I needed this code on my site, as I'm floating a lot of my divs, and if the content div is too short, then the navigation area get's messed up.
I needed this code on my site, as I'm floating a lot of my divs, and if the content div is too short, then the navigation area get's messed up.
This code allows you to create a maximum height for your div or content area, and if that maximum height is reached, it will automatically create a scrollbar, so that others can read the rest of the information.
This makes a 2 column layout with a header. It is fixed in the very center of the page and is 700px wide. Pretty easy to use.
We hope you never want to use this, but we will never deny you knowledge. This code will allow you to change the colors of the scrollbars on your page. This works only in Internet Explorer. And if you notice that this site doesn't use this code, then that's because (1) it's ugly, and (2) we prefer Google Chrome.
Use this CSS trick to create a diagonal banner and place it on the top-left corner of the page.
Use this CSS trick to create a diagonal banner and place it on the top-right corner of the page.
This CSS styling can be used to change the styles of the first letter of any text container: span, headers, etc.
By including both your button image and its rollover image in one image such as this, you can create an effective rollover script with only CSS. Explore this technique and create something stunning!