Hello,
I am using CSS to apply a background to a header:
<h1>Header</h1>
h1 {background-color: black;}
The problem is that the background color is applied not only to the
text but to the full lenght of the h1.
How to apply it only to the header text?
Thanks,
Miguel
I am using CSS to apply a background to a header:
<h1>Header</h1>
h1 {background-color: black;}
The problem is that the background color is applied not only to the
text but to the full lenght of the h1.
How to apply it only to the header text?
Thanks,
Miguel
Comment