CSS code example for Gradient Underlines
CSS code example for Diagonal Graph Paper Gradient
CSS Clay Bricks Menu by Dynamic Drive
Example code shows how to draw a Linear Gradient
The following code snippet paints a gradient between 2 colors on the entire form. It uses Win32 API in order to get the best performances. 'You can change the colors of the gradient by changing the RGB values passed to PaintGradient function. Written by Nir Sofer
Use this snippet to let your visitors change the background color of your Web page. Combined with a cookie, the setting could follow them through your whole site.
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.
Here are the code for Page Curl Shadows in CSS
CSS code to change Text Selection Color
CSS code example to change Text Selection Color
Delphi code example to draw a gradient line
Change Text Selection Color
Change Date from dd/mm/yyyy to yyyy-dd-mm
When placed in startup scripts, this snippet activates every time user opens a file. It then traverses the directory path backwards and looks for user created project folders. If one is found, script offers to switch it on. This is very useful when working with a number of projects at a time.
This PHP script will get the day of the week from the server date and then display an image (jpg or gif) to match.
Choose a color scheme as found in the Display control panel applet
Here shown Java code example - The protected keyword
Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).
Normally index.html or index.php is the default page a server serves up when visiting a directory without specifying a file name. You can change this with .htaccess:
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.