CSS

Fixed size left column and fluid right column both with 100% height in CSS

August 13, 2022

If you need two (2) columns and want the left column to be a fixed size, but the right column to automatically take the remaining size of the window, then you can use the following solution.


Read More

How to Flex Grid 2 Columns using CSS

July 24, 2022

If you would like to flex grid 2 columns in CSS then you need three (3) divs.


Read More

How to Style an Element using Javascript

July 15, 2022

If you need to style an element using Javascript then you can use the style object to support all your CSS needs.


Read More

RBG Color Codes

June 8, 2022

Often you need to reference an HTML/CSS Color Code in RGB or Hex.


Read More

How to disable text selection highlighting in CSS

April 30, 2022

If you would like to disable the text selection highlighting that is enabled by default on all browsers, then you can do this:


Read More

Remove dotted outline around anchors

April 30, 2012

This has become quite a common question asked by many website owners.


Read More

CSS Background Default

September 15, 2011

If you would like to override an already attached class containing a background then you can use the following:


Read More

CSS background image data: base64?

September 9, 2010

What the heck is all that Gobbledygook in the CSS?


Read More

Google Background Image

June 9, 2010

Google now allows you to add a background image to the google homepage to apparently make it more, like, home.


Read More

Double border in CSS

March 30, 2010

CSS allows you to add a border to almost all html elements.


Read More

Simple HEX Colour Values

December 10, 2009

Actual Display Colour HEX Colour #000000 #FF0000 #00FF00 #0000FF #FFFF00 #00FFFF #FF00FF #C0C0C0 #FFFFFF


Read More

Wordwrap that PRE!

November 23, 2009

Ever used a <PRE> in a limited width div container? You will notice that the line gets cut off almost as if word-wrap was not enabled.


Read More

Guillotine-Bug? Bug

October 20, 2009

Yes, it’s called a Guillotine-Bug and it’s yet another bug IE users get to look forward too 😛


Read More

cross browser alpha css

October 20, 2009

.thediv { opacity:.80; filter:alpha(opacity=80); -moz-opacity:.80; }


Read More

Need more than hover?

October 20, 2009

I had a hover effect on an html input element but also needed to have an active state.


Read More