Css Based Time Snippets


Use this in the <head> of your HTML files.

29 October, 2011   

Here shown an example how to Compress CSS with PHP

27 May, 2013   

Example shows here how to compress CSS with PHP

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.

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).

Mysql code example to SELECT based on a field that can have a NULL value.

10 October, 2013   

It is difficult brainstorming your own CSS font stacks for designing new webpages. This snippet may alleviate some torture and give you a few templates for getting started.

16 February, 2012   

ASP code to ban user based on their IP address

21 January, 2011   

Sometimes the time set on your server isn't accurate to what your local time is. If you can't change it, you can adjust it yourself. If your server thought it was 12 midnight, but it was really 7 pm, this will roll the $today variable back five hours to be correct.

Apache Code example for blocking based on User-Agent Header

C source code example for using struct tm, time_t, and time to create a simple clock

06 March, 2013   

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

This will return the number of seconds between now and when the time field was inserted.

22 June, 2014   

To test in other timezones, replace '-5' with your local standard time GMT offset.

14 January, 2013   

You can link to an external stylesheet whatever pages you want to apply it to.

16 March, 2013   

CSS code example to change Text Selection Color

07 April, 2012   

CSS code to change Text Selection Color

jQuery code example to show content based on select option.

Optimize your website loading time by compressing files into smaller size.

By default, Delphi gets its date/time, currency and numeric format from Control Panel's International settings. We can set the constants defined in Delphi, like DecimalSeparator, ShortDateFormat and others like in the code below. To a complete list of these variables, look at Currency and date/time formatting variables in Delphi Help.