skip to content

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.


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

Free, practical CSS menus, layouts, and examplesFlash LoadedCreative stock imagesSocial Media Applications On DemandPSD to HTML, PSD to XHTML Service by PSD2HTML.com. You Design - We XHTML / CSS.SitegrinderBitrix Site Manager