Body Class Snippets


18 January, 2011   

Now you can write IE specific styles in a regular stylesheet, by prefacing the CSS selectors with body.

24 November, 2011   

Advanced background example by CSS

09 November, 2011   

How to set style of borders. here shown an example.

09 November, 2011   

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

19 January, 2012   

CSS Code example - how to control the letters in a text

01 October, 2013   

This php code for mail someone from your code

09 June, 2014   

JavaScript code for click to edit a table cell inline.

This example code shows how to make text inputs with rounded corners.

27 March, 2013   

CSS code for table-layout property using an example code in html page.

Example source code for function pointer to member function of class

C++ code snippet for function pointer to member function of class

14 May, 2014   

Html Code example for hCalendar

To create the formatter paste this code into a new file and name it sfWidgetFormSchemaFormatterDefList.class.php. I saved it in /lib but it also makes sense to put it in /lib/form, depending on your personal preference.

jQuery example code to add image to browser cache

30 January, 2011   

Applying Even/Odd Classes

16 February, 2011   

HTML5 Article Structure with hNews

HTML5 code for Article Structure with hNews

24 July, 2016   

Dynamically add form fields to your forms.

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

The mail() function allows you to send emails directly from a script.