Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS help with heading style – dynamic length Re: help with heading style – dynamic length

#77484
TheDoc
Member

Sorry, forgot about that. It wouldn’t be ideal, but to get around it you can do this:

h1 span { background: green; }

<h1><span>Your Text</span></h1>