I suspect that the width, margin-left, and margin-right are not what they want; typically what's wanted is for the green box to automatically size itself to the size of the text (with a bit of space/padding/margin on the sides).
I vaguely recall banging my head against this a long time ago and never found a solution.
Last edited by hobnail; 10-10-2020 at 08:22 PM.
|