Codrops
  • All Posts
  • Demos Hub
  • Webzibition

Solving PHP MySQL UTF-8 issues
encodingMySQLPHP

Solving PHP MySQL UTF-8 issues

In Playground, Aug 31, 2009 by Manoela Ilic

Heres a list of actions you should do in order to get PHP + MySQL working with UTF-8: 1. Database: CREATE DATABASE db_name CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 […]

Free Web 2.0 style glossy buttons
button

Free Web 2.0 style glossy buttons

In Articles, Aug 30, 2009 by Manoela Ilic

Here is a set of some colorful glossy web 2.0 style buttons in png format (size: 203 px wide, 71 px high). You can use them as you like!

JavaScript browser detection
browser detection

JavaScript browser detection

In Playground, Aug 30, 2009 by Manoela Ilic

Here is some very useful javascript for detecting the browser that is accessing a page:

PHP function that returns the exact age
birthdatePHP

PHP function that returns the exact age

In Playground, Aug 30, 2009 by Manoela Ilic

Here is a simple PHP function that returns the exact age of a person given his/her birthdate: function age($month, $day, $year){ $y = gmstrftime(“%Y”); $m = gmstrftime(“%m”); $d = gmstrftime(“%d”); […]

CSS Gmail style labels
gmail

CSS Gmail style labels

In Tutorials, Aug 29, 2009 by Manoela Ilic

Ever wondered how to generate some cool gmail labels in css? Here is an attempt to imitate the little labels used in gmail. Three tiny colorless images are used to […]

Cool CSS-only registration form
formregistration

Cool CSS-only registration form

In Tutorials, Aug 28, 2009 by Manoela Ilic

Here is a very simple and cool registration form. A lot of times I was searching for some registration or login form that is easy to adapt. Here comes my contribution to the community. I hope you can use it!

The result looks like this:

Simple CSS chart for dynamic content
chart

Simple CSS chart for dynamic content

In Tutorials, Aug 27, 2009 by Manoela Ilic

This is an example of a very simple CSS + one tiny image chart. The result will look like this: Insert the follwoing style into the head of your html […]

Simple CSS: Update box for category or posts

Simple CSS: Update box for category or posts

In Tutorials, Aug 26, 2009 by Manoela Ilic

Let’s create a simple and clean box that shows the updates in a category (or anything you might like it to use for). The result looks like this: Starting with […]

iPhone Webappwebapp

JavaScript: Changing location or stylesheet according to device or browser

In Articles, Aug 26, 2009 by Manoela Ilic

Developing web applications for mobile phones sometimes brings the need to just create separate content for different devices.

Meco
Meco is a distraction-free space for reading and discovering newsletters, separate from the inbox. Try it, unclutter your inbox.
Creative Coding Club
GSAP3: Beyond the Basics Ready to take your GSAP3 skills to the next level? Learn "must know" features of GSAP3 that will open your eyes to new ways of creating and controlling your animations. Use "cdrps" for 20% off!
Explore the site
  • Home
  • Articles
  • Tutorials
  • Playground
  • Demos Hub
  • Webzibition
  • CSS Reference
  • Freebies
  • About
  • Get in touch
  • Subscribe
  • Advertise
  • Privacy Policy
  • License
Follow Codrops
  • LinkedIn
  • Instagram
  • X (Twitter)
  • Bluesky
  • Facebook
  • Telegram
  • RSS Feed
  • GitHub
  • Proudly hosted by Liquid Web hosting Liquid Web logo
  • Content delivered by
  • © Codrops 2025
Support us on Patreon logo