Css Style Snippets

14 July, 2014   

A few points of interest: * The HREF links use JavaScript to set a browser cookie named "style". * Since we are only setting one cookie and it's name is "style", we can read its value using "document.cookie.charAt(6)". * If no cookie is set, "StyleFile" will evaluate to "style.css". * The...

27 May, 2013   

Example shows here how to compress CSS with PHP

29 October, 2011   

Here shown an example how to Compress CSS with PHP

06 March, 2013   

There are two methods for creating separate styles depending on the media type. both example given below:

30 August, 2012   

CSS code example for stylish submit buttons

16 April, 2012   

This CSS code will change link font-size

15 April, 2013   

CSS Code for Pure Rollover

02 August, 2012   

An example of a horizontal CSS menu

The code includes the CSS which you can add to your stylesheet and please note a class has been added to the table tag.

18 February, 2012   

How to use CSS Inline in html page

24 November, 2011   

Advanced background example by CSS

05 February, 2011   

Link to CSS files: You essentially hotlink directly to CSS files on Google. Through URL parameters, you specificity which fonts you want, and what variations of those fonts.

CSS code example for different colors to visited/unvisited links

11 December, 2011   

CSS code example to use of text-decoration on links

19 January, 2012   

CSS code example how to Set the size of the font

You may add rounded corners to your CSS3-based elements, like a border or button. You can change the radius to increase or decrease the rounding of the corners. This is a styles definition rounding of each corner, it lets you individually round each of the 4 corners (still not supported in IE).

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

14 January, 2013   

This is a simple example of an embedded stylesheet.

09 November, 2011   

Here an example how to set the width of the four borders

06 August, 2011   

The stuff inside the /* */ marks are CSS comments. This allows you to enter notes into CSS that will not be interpreted. In this case, this comment lets someone reading the CSS file know that that particular line of CSS was intended to allow for using ems to set font size later in the CSS in a more intuitive base 10 way.