Codrops
  • All Posts
  • Demos Hub
  • Webzibition
  • The Collective

Solving PHP MySQL UTF-8 issues
encodingmysqlphputf-8

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 […]

iphonewebapp

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.

Wix Studio
Seamlessly transform your Figma designs into responsive, business-ready sites with the Figma to Wix Studio plugin.
Readymag
Make designs interactive & publish as websites with Readymag. Transfer anything from Figma to Readymag in 4 clicks with a plugin.
Scrimba
Want to build websites but don’t know where to start? Scrimba's Frontend Developer Career Path is the perfect beginner-friendly course to kickstart your journey! Created with Mozilla MDN, it teaches you modern web development skills step by step. Codrops readers get 20% off Pro plans!
Explore the site
  • Home
  • Articles
  • Tutorials
  • Playground
  • Demos Hub
  • Webzibition
  • The Collective
  • CSS Reference
  • Freebies
  • About
  • Get in touch
  • Advertise
  • Privacy Policy
  • License
Follow Codrops
  • GitHub
  • Bluesky
  • Instagram
  • Facebook
  • Telegram
  • Mastodon
  • X
  • RSS Feed
  • Proudly hosted by Liquid Web hosting Liquid Web logo
  • Content delivered by
  • © Codrops 2025
Support us on Patreon logo