Browsing articles from "July, 2011"
Jul
21

Should I use a class or an ID?

By Sam  //  Beginners  //  No Comments

A CSS tip for beginners today. You might have wondered why CSS uses both classes and IDs. Well, the answer is very simple:

A CSS id should only be used once per page.

A CSS class cam be used on multiple items on a page.

It’s also important to note that IDs also take precedence over classes. Any CSS selector that uses an ID will override one that only uses a class.

Jul
13

SQL command to reset WordPress password

The quickest and easiest way to change your WordPress admin password. Just enter this SQL command directly on your server.

UPDATE wp_users SET user_pass = MD5('newpassword') WHERE user_login = "admin";

Sponsored links