HTML Johnson Box

How to make your own HTML Johnson Boxes to add interesting effects to your web page or email template and encourage the reader to keep reading your message.
A Johnson Box is a HTML container with some styles such as color and borders added to it. The main obvious feature is a colored background which attracts the eye of the reader and encourages them to keep reading.
Johnson Boxes are reported to improve response rates in direct mail marketing and have been adopted for Online use by Internet marketers. Your own split testing will reveal what colors and border styles improve sales conversions the most.
Johnson Boxes can also be used for general blogging and article writing simply because they make a web page look more interesting. The Johnson box captures the eye of the reader and encourages them to keep scrolling and keep reading.
This page shows how to make Johnson Boxes using just HTML and CSS.
Johnson Box Types
- Johnson Box without a headline
- Johnson Box with a headline
- Johnson Box with an image
This post shows how to make HTML Johnson Boxes without a headline.
9 HTML Johnson Box Examples
Here's 9 HTML/CSS Johnson Box examples to play around with.
Simply copy/paste the CSS into your website StyleSheet. Change the Class Name my_class_name
to whatever makes sense to you. For example, you might like to name the class of a yellow box box_highlight
.
Example 1 - No Borders
Example 1 - No borders demo.
HTML
CSS
Example 2 - No borders, shadow
Example 2 - No borders, shadow demo.
HTML
CSS
Example 4 - 4 solid borders, shadow
Example 4 - 4 solid borders, shadow demo.
HTML
CSS
Example 5 - 4 solid borders, rounded corners
Example 5 - 4 solid borders, rounded corners demo.
HTML
CSS
Example 6 - 4 dashed borders
Example 6 - 4 dashed borders demo.
HTML
CSS
Example 7 - 2 solid borders
Example 7 - 2 solid borders demo.
HTML
CSS
Example 8 - 1 solid border
Example 8 - 1 solid border demo.
HTML
CSS
Example 9 - 4 double borders
Example 9 - 4 double borders demo.
HTML
CSS
Reference
Special thanks to the following websites for providing reference.