Forum Moderators: not2easy
Making the H1 border-bottom red adds an underline that goes wider than the text, so that's not good. If I change the H1 width to the exact width of the text it would work... except each page has a header that is a different length of text, so that's not good either.
I'm out of ideas, and I feel quite dumb. =)
So, any help would be very much appreciated.
[edited by: Perfection at 6:52 pm (utc) on May 4, 2007]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset:utf-8">
<title></title>
<style type="text/css">
h1 { text-decoration: underline; color: #c00; }
h1 span { color: #0c0; }
</style>
</head>
<body>
<h1><span>This is my text</span></h1>
</body>
</html>