[thelist] preventing a CR in when using different colours in a paragraph
darren
darren at web-bitch.co.uk
Thu Jul 3 08:40:41 CDT 2003
On Thursday, July 3, 2003 at 14:30, David Turner wrote:
DT> i am trying to write a paragraph of text using style sheets, with some of
DT> the text in a different colour, but it is adding a CR that i dont want.
a div is a block level element, so they're all gonna stack up on top of
each other. to get your white text, use a span:
<div class="formText-black">
Fill in this form or phone
<span class="formText-white">0113 123456</span>
for more information
</div>
hth,
darren.
More information about the thelist
mailing list