Add Comment Snippets


26 January, 2011   

The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

29 July, 2012   

The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

26 December, 2012   

This cron will do the same on Windows as session management works on Linux

This snippet shows how to add treenode's to a treeview control. It also shows how to add sub nodes.

19 September, 2011   

If you leave a URL in the comment form of a WordPress blog, it will be automatically transformed into a hyperlink. If you want to implement the same functionality in your own website or web app, you can use the following code:

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.

05 March, 2017   

To add a "space" to the dock in OS X, open up Terminal.app and enter this. Enter it as many times as you want spaces. Error on too many, they are easy to remove. by Chris Coyier

How to Insert comments in the HTML source code

18 July, 2012   

HTML code to add a Favicon to your site

10 September, 2011   

Example of adding a constraint

This code snippet populates a datagridview control using array objects.

23 April, 2011   

Below is a basic feedback form script 'feedback.asp'. You can add your own validation. Once the visitor has filled in all the form textfields an email will be sent with the feedback details including the date and time and the visitor's IP address to the email specified in the script.

21 September, 2011   

Allows you to add a string to end or start of a field to use when comparing or selecting data. The second argument is added to the end of the first

13 June, 2011   

Providing your visitors with a way to add your web site to their favorite places provides a great way to obtain repeat traffic. This is a great way to increase your overall traffic and sales, as they can visit your web site again and again. However, to obtain repeat traffic, you must continually update your content and give your visitors a...

Example for adding filter column to FilterControl, Devexpress controls

10 June, 2013   

A simple add to favourites link for IE7

iPhone code snippet to handle taps within a UIWebView

18 June, 2011   

Add a space (or other delimiter) only if a variable is set, in order to avoid ugly unnecessary spaces.

A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.

15 March, 2015   

How to automize versioning by modifying a line in the AssemblyInfo file.