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 ...
How to Make Images Responsive
With today's widespread use of mobile devices, you might want to make images on your webpage adjust their size if your webpage is displayed on a small mobile smartphone screen. This article provides easy code examples to make images responsive. More ...
Add Background Color to a Heading
One way to highlight your webpage heading is to add a background color. This is very simple to do using the background-color property, but since a heading element, is a block element, you need to place a span within the heading tags and apply the background-color property to the span. More ...
Easy CSS 3D Mouse-over Pressed Text Effect
I provide easy CSS code for 3d text when you move your mouse pointer over the 3D text shown above, the text will appear to be pressed. In this example, I configured the 3d text in a link. 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 ...
Use @font-face Rule to Load External Fonts For Your Webpage
The CSS font-face rule allows web designers to load fonts from external sources, they no longer have to use one of the web-safe fonts. This article provides example code. 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 Scrollable Area Code
In this article you'll learn how to create a scrollable area. Then you'll learn how to use Style code to customize the appearance of your scrollable area. Next you'll learn how to layout your webpage with scrollable areas. And last, you'll learn how to load your scrollable area's from external files so you never need to edit your front page again. More ...
Flat Design and Ghost Buttons
One of the latest web design trends is flat design, and one of the expressions of this trend is the ghost button. This article provides easy code to create ghost buttons. 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 ...
Easy Text Drop Shadows
A text drop shadow is a nice effect, but it used to require you to use a graphics editor to create a image text. CSS3 introduces the text-shadow property which makes it easy to create text drop shadows without using graphics. More ...
Display Overlapping Images on Your Webpage
In this article I show you how easy it is to use script to display overlapping images on your webpage where you can just change numbers to play around and arrange the images and overlapping to get it just the way you like it without having to repeatedly use a graphics application. More ...
