How to Overlay Text on an Image
At some point you might find the need to put text over an image. The easiest way is to use a graphics editor, but with a graphics editor, if you don't like the exact location where you placed the text, you have to start all over. By doing it with style code, you can move the text around just by retyping a few digits. More ...
How to Center a DIV
The current proper way to center a div is to use CSS to set both its margin-left and margin-right properties to auto. More ...
Code for Horizontal Drop-down Menu Bar
One of the most popular website navigation elements used today is the horizontal drop-down menu bar. Using the code provided in this article, you'll be able to create a menu bar that meets your requirements. You'll be able to easily change the number of main menu and sub-menu items, and to style the menu as you desire. More ...
Easy Visual Effects to Spice Up Your Webpage
This article demonstrates how easy it is to use Internet Explorer's built-in functions to create interesting visual effects to spice up your webpage. Add only a few simple lines of Java Script code and you can create very impressive dynamic effects. More ...
Easy Three-level Expanding Menu Code
In a previous article, I described an easy method to create an expanding menu similar to Windows Explorer, but with only one level of sub-menus. This article provides code for a similar expanding menu, except with two levels of sub-menus. More ...
The CSS Box Model
One of the most important CSS webpage layout concepts to understand is the box model. Every element on a webpage is actually a rectangular box. Exactly how a box will display depends upon the positioning method used, which other CSS properties you set for the box and how you select the box. More ...
Create Custom Horizontal Rules
Horizontal rules can increase webpage readability by providing a separation between different topics on a page. Horizontal rules are often used to separate a footer or resource box at the bottom of a webpage from the main webpage content. HTML by itself creates some pretty bland horizontal rules. But with CSS designers have the means to create interesting horizontal rules. More ...
Create a Cool Picture Frame Effect with CSS
By setting the CSS border-color property to a transparent color, and setting the background-origin property to border-box you can create a cool picture frame effect. More ...
CSS to Use an Image as a Mask
Here is an easy way to create nice image text effects. A mask is an image with one color that is transparent, allowing an image behind it to show through, while a different color is used to block the parts of the image behind it. More ...
Create a No Image Rollover Button or Badge
In this article, I show you how to create a nice looking button or badge with a rollover effect that requires no image because it uses CSS (Cascading Style Sheets). I think you'll find that this is amazingly simple to do. More ...
Easy Floating Menu Code
In this article you learn how to create a floating menu with only a few simple lines of code. You learn how to make the menu float smoothly, and you learn how to give your floating menu 3D buttons and mouseover effects. More ...
Style Your Imagemap Tooltips
Creating popup tooltips is extremely easy if you're satisfied with the style defined by the client operating system. With a bit of style code and a bit of Java Script code you can control the appearance of your tooltips. More ...
