It has been quite a while since I made a post as I have been working. Whilst at work, I have of course been learning little bits of CSS and I feel that I should unleash them to my portfolio on the interwebs.So, I like the websites these days that display a different color text to the default dark blue background and white highlight. You can use the CSS below to change this (in good browsers)...

::-moz-selection{color:#437996;}
::selection {color:#437996;}

Next up is a smaller change to a webpage, i recently wanted to add a verticle scroll bar to a page that didn’t required it. This was so that when changing to pages that did, the center alignment wasn’t jumping about. Below does this...

overflow: -moz-scrollbars-vertical;

To finish up, I'm posting a technique that has been around for quite some time, the min-height hack that makes min-height work correctly in both Firefox and IE. The below code will force the div height to be 900px, but if there is an overflow of content, the div will expand.

.min-height{
min-height:900px;
height: auto !important;
height:900px;}

As you can see this is a "class", this should be attached to a div like so...

<div class="min-height" id="homepage-content">

That's all for now! Small and simple bits I know but I hope you find a use for these techniques! Enjoy.