Background Color Snippets


31 January, 2012   

Use this CSS code for frame borders and write below code between head tags

11 February, 2012   

JavaScript Code to change the color of the scroll bar

05 January, 2012   

A simple dashed border effect by CSS

18 February, 2012   

CSS code example for a background image repeat vertically (y-axis), horizontally (x-axis), in both directions, or in neither direction.

20 March, 2012   

HTML code example for Style HTML elements

The four link states should always be listed in that order, like so:

29 August, 2011   

Be careful that these boxes aren't sitting within another element that has a background, otherwise the negative z-index values (required for this to work) will force the shadows underneath that and not show up.

10 May, 2012   

CSS code example for Zebra Striping a Table

07 April, 2011   

Here are the code for Page Curl Shadows in CSS

22 March, 2012   

An example CSS code for Link Pseudo-Classes (In Order)

24 November, 2012   

Color header for Windows that integrates with count source code

15 April, 2012   

PHP code example for an image CAPTCHA.

30 August, 2012   

CSS code example for stylish submit buttons

CSS Code example : how to repeat a background image only horizontally.

15 April, 2013   

CSS Code for Pure Rollover

06 May, 2013   

Code example for Dead Centre A DIV

02 February, 2011   

The set height and width ensure only a portion of the sprite.png graphic is shown. The rollover shifts the position of the background image, revealing a different area of the graphic.

Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.

13 February, 2013   

PHP Code example for ASCII CAPTCHA

CSS code to highlight links that open in a new window