i use hyphens all the time in my css, for headers and divs as well as
everything else.  just to make sure i'm not blowing steam, i made a
tiny little test page with a class of "test-hyphen" on an <h1> and a
<div> and both worked fine in ff/ie/op.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; >
<head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />

        <style type="text/css">
                .test-hyphen {
                        color: blue;
                        }
        </style>
</head>

<body>
<h1 class="test-hyphen">i should be blue</h1>
<div class="test-hyphen">
        i should be blue too
</div>
</body>
</html>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to