CSS Code, PHP Code

Convert RGB colors to Hex

Most web developers are quite comfortable using CSS to stylize their websites. But oftentimes they will design (or have designed) a template in Photoshop before creating the HTML template. Sometimes it can be a real headache to convert the RGB colors to the proper hexadecimal values for use in CSS.
CSS Code

How to replace text links with images using CSS

Anyone who knows anything about SEO knows that it's most advantageous to use text links for the navigation of a website. Using text increases a search engine's ability to crawl your site and identify the content properly, because it can read the text (spiders can't read text within images). However, the aesthetic appeal of using images is obviously greater, you can have effects and aliasing,...
CSS Code, JavaScript Code, SQL Code

Easily create CSS tabs with PHP and AJAX

There are many different ways of simplifying an interface, and one of the best is by means of using tabs. I've written a couple of tutorials on making tabbed interfaces with CSS. However, it would be even easier to just have a class that generates the tabs automatically. Well, this class can be used to generate a tab based Web interface.
CSS Code, DHTML Code

How to set an iframe to 100% height in FireFox

Here's the HTML code to implement if you'd like to embed another web page in an iframe on your web site, but would like it to appear as the entire page. This makes it hard to detect that the page is within an iframe. It's easy to do in IE, just set the iframe height and width to 100%. But this is invalid markup and...
CSS Code, DHTML Code, JavaScript Code

Make an object stay on the page when scrolling

It's pretty common to see a nav bar or some persistent menu/object floating on a web page as you scroll dow it. Well here's the code to do that yourself. You can set the specific location for the floating object, and when the web page is scrolled down or up the object will float to that position as slow or fast as you set it...