Tag : C

Title User Language Tags Description Date
Equal height for list items jbernus JavaScript

It's not mine, found it on stackoverflow

yesterday
conversion between queue and stack zaxbbun C

conversion between queue and stack

Tuesday
Subtle Recessed Divider Line nshakin CSS

Create a subtle "recessed" looking divider line. The example restyles the tag but it can applied to anything.

Tuesday
HTML5 Shim nshakin HTML

Source code adds new HTML5 elements (which is simple code), but also supports printing HTML5 elements and includes the default styles for HTML5 elements, like block on article and section. (GOTO the referenced url to download the javascript package)

May 19
CSS Custom Font File nshakin CSS

Reference a custom font file for use within a stylesheet

May 18
Captions For Lists and Images COBOLdinosaur HTML

One of the limits of using lists (ordered and unordered) is that they have no provision for a heading. You can do something like:

    This is a Title
  • etc... but it is invalid because the list containers can only contain List Items. One way commonly used to put a heading on a list is to put a paragraph or div ahead of the list. It is messy and ugly, but it validates.

    The problem with that solution is that the elements are not bound to each other and therefore it can break unless you make it even uglier by putting a common wrapper around both elements, and then you have extra linefeeds to deal with.

May 17
Check If JQuery Is Loaded In The Browser nshakin JavaScript

Use Javascript to check if JQuery is loaded properly in the browser

May 17
online pet shop & pet accessories dogcare2013 PHP

K9shop.NL is a reputed Pet supplies store based in Kathshevuele,Netherlands. We offer product ranges of all leading brands and our catalog includes virtually everything you could imagine in the name of pet-care; ranging from food to nutrients to sports toys to cloths & grooming products.

May 15
Animating Shapes COBOLdinosaur JavaScript

Changes shape back and forth from a round element to a square element.

May 15
CSS3 transition cross browser oblik35000 CSS

Making CSS transition effects work in all browsers, except IE 6-9

May 14
Simple PHP CAPTCHA jreplyide PHP

CAPTCHAs are often too hard to solve - hard enough to annoy real human users. This CAPTCHA is easy to understand and to modify and is strong enough to keep out bots whilst being easy on human eyes.

The source code below will not work on its own - it requires a TTF font file and a word list both of which are available in the ZIP archive available for download from the URL given here.

May 14
Reload dependencies cache in maven 2/3 alces Bash

How to reload dependencies cache in maven 2/3

May 13
background image stack kickass CSS

Multiple backgrounds

May 12
css border-box magical goodness kickass CSS

Forces padding to not be added to overall box dimensions but instead subtracted - good for frameworks. For example, a container 960px with a 20px border and a 20px padding added still remains 960px allowing me to enjoy my life free of pesky maths.

Old skool goodness!

May 11
CSS3 fullscreen background image - contain and cover options kickass CSS

"Contain" maintains aspect ratio of the image while giving a full screen - will scale down but wont scale up beyond 100% of its own dimensions and doesn't repeat by default "Cover" will crop either crop or stretch the image to cover the full screen - seems to be setting image to 100% of screen size regardless of browser window size

May 11