skip to content
Website Builder

Two Tone Headings

A TWO COLOR HEADING WITHOUT LINE

A TWO COLOR HEADING WITH LINE

... and there you have it ...

IN BLACK AND GREY

... but IE will only see monotonous text.

CSS play Support


CSS play Recommend

uk white label shopping carts for resellersFree, practical CSS menus, layouts, and examplesPSD to HTMLSitegrinder



Information

This is pure text, no images have been used in the making of this demo.

This works in Firefox and Opera and I assume some Mac browsers. Please let me know.

Internet Explorer will just see a single color heading and will not know what it is missing.

Making use of content:before we can create a copy of the h1 heading and split it horizontally to create this two tone header.

The white separating line is just a white border.




Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.




CSS play Recommend

CSS play Testimonial

"The citroen.co.uk web site uses
CSS play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."

Damon Clark - Brandwidth