K
KiwiBrian
If I have some text strings on a page, e.g. headings, or paragraphs, and I
want them to have a background colour behind just the text, is use of the
span tag surrounding/enclosing the text the only way of achieving this?
Of course I would want it to adjust to any client resizing of the text, or
if characters were added or removed in the source.
I was surprised to find that paragraphs are the width of their container and
not the width of the text string, but no doubt there is a good reason for
this.
TIA
Brian Tozer
want them to have a background colour behind just the text, is use of the
span tag surrounding/enclosing the text the only way of achieving this?
Of course I would want it to adjust to any client resizing of the text, or
if characters were added or removed in the source.
I was surprised to find that paragraphs are the width of their container and
not the width of the text string, but no doubt there is a good reason for
this.
TIA
Brian Tozer