CSS Techniques for Web Content Accessibility Guidelines 1.0

12 Rules and borders


What browser does the example below supposedly work in?
I tried Opera 5.01,  Netscape 4.75  and  IE 5.50.4134.0600

In this example, the H1 element will have a top border that is 2px thick,
red, and separated from the content by 1em:

   <HEAD>
   <TITLE>Redline with style sheets</TITLE>
   <STYLE type="text/css">
        H1 { padding-top: 1em; border-top: 2px red }
   </STYLE>
   </HEAD>
   <BODY>
   <H1>Chapter 8 - Auditory and Tactile Displays</H1>
   </BODY>

End example.

Regards,
Chuck Baslock

Received on Friday, 16 March 2001 18:42:31 UTC