JoshT
Jan 5th, 2001, 11:49 AM
How would I get H1 width to be the size of the text it contains. Right now, using IE5.5, the text is centered but the white box its in takes up 100% of the screen width. I could say width:500; or something but that's not too efficient.
<style type="text/css">
<!--
body {
text-align: center;
font-family: Arial;
background: black;
}
a:hover {
color: red;
}
h1 {
background: white;
color: black;
}
-->
</style>
Thanks,
Josh
<style type="text/css">
<!--
body {
text-align: center;
font-family: Arial;
background: black;
}
a:hover {
color: red;
}
h1 {
background: white;
color: black;
}
-->
</style>
Thanks,
Josh