DevHints

Archive for October 2006

CSS: Centering Block-level Elements: DIVs and Tables

Posted by: Corey on: October 29, 2006

Centering your tables and divs can be confusing since not all browsers play nice with applying the parent element’s text-align attribute to block-level elements. No worries though, there is a quick and easy way to center any block level element.
margin: 5px auto;
As you should already know, when you set margin or padding you can alter [...]

CSS: Links With Different Color Underlines

Posted by: Corey on: October 24, 2006

If you’ve ever wondered how you could get a link to be one color and the underline to be another color, you’ve come to the right place. While this isn’t supported in CSS (yet, maybe one day), we can do something that will appear to do the same thing.
Here’s the CSS:
a {
color: #F00;
border-bottom: 1px Solid [...]

Obtaining and Retaining Clients for Freelancers

Posted by: Corey on: October 22, 2006

If you’re a freelancer and you’ve ever had problems obtaining or retaining clients, or if you’re new to web design and you’re considering freelancing, this article is for you. I’m going to give you some great tips on how to get new clients and keep them coming back for more.
Obtaining new clients can be a [...]

Design: It’s All About Color

Posted by: Corey on: October 22, 2006

I know a lot of people have trouble choosing colors for their website. Unless you’re an art student (or graduate) you probably don’t know all about color theory, complementary colors, and the like. Don’t fret though, I’ve got a fail-safe method for colors on the web!
First, too many colors can make your website chaotic. Pick [...]

HTML: What is it?

Posted by: Corey on: October 21, 2006

HTML stands for Hyper-Text Markup Language. It’s really just a fancy term for a language that is meant to format text for use on the internet. If you’ve ever used “tags” to style your text on Myspace, Xanga, LJ, etc, you’ve used HTML. The same goes for displaying images or slideshows…while they aren’t made with [...]

PHP: Introduction To

Posted by: Corey on: October 21, 2006

PHP is a great language for beginners and advanced programmers all alike (especially with v. 5). Like other scripting languages, it is compiled at run time, so there is no extra work on the developers part before running the code.
First off, where do you write PHP? Well, you can write PHP in any text editor. [...]

CSS: Change the default link style

Posted by: Corey on: October 21, 2006

One of the most common things people do with CSS is change the style of the links in a page. I’d highly recommend it since the default links usually won’t work with your color palette, considering they are bright blue, bright purple, and bright red.
To simply make all links the same color with the default [...]

Design 100

Posted by: Corey on: October 21, 2006

Yup, we’re back in college, only your professor is hardly politically correct and he’s learned by actually doing it. We’re going to hit some basic points of design that I see a lot of amateurs missing that you should definitely know about.
Rules are meant to guide, and there are always good reasons to break them. [...]

Search Engines Can’t Deliver Quality Results

Posted by: Corey on: October 21, 2006

Search engines have come to a point where their creators are too busy with their heads in the clouds that they aren’t focusing on what made they successful. It seems that the big three (Google, MSN, and Yahoo) are obsessed with finding new avenues for revenue–perfectly understandable from a business perspective. The problem is that [...]

PHP: Proper Case Function

Posted by: Corey on: October 21, 2006

PHP doesn’t have a built in proper case string function, though it does have upper and lower case functions. This isn’t too big of a problem though, since we can build one that acts just like we want anyways!
If you just have a short phrase or word that needs to have the very first letter [...]


a