views:

57

answers:

1

This doesn't work in IE6 or 7:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>Title</title>
    <style type="text/css">
     N {display: block}
    </style>

</head>
<body>
    <div>
     <N>element1</N>
     <N>element2</N>
     <N>element3</N>
     <N>element4</N>
    </div>
</body>
</html>

however, it does if I replace the N tags with A tags.

Does IE have a problem with styling non-HTML tags? Or is it something else?

+7  A: 
David Dorward
Spot on. The hack will do nicely for now!
Brabster