[thelist] preventing a CR in when using different colours in a paragraph
David Turner
david.turner at synergy.tv
Thu Jul 3 08:30:19 CDT 2003
hi all,
i am trying to write a paragraph of text using style sheets, with some of
the text in a different colour, but it is adding a CR that i dont want.
i want the following text to appear with the phone number to be white, and
the rest of the text in black.
"Fill in this form or phone 0113 123456 for more information"
i have tried 2 ways to do this, but in both cases i get carriage returns
after each div so i am seeing...
"Fill in this form or phone
0113 123456
for more information"
what i want is
"Fill in this form or phone 0113 123456 for more information"
code i have tried:
(1)
<div class="formText-black">Fill in this form or phone </div>
<div class="formText-white">0113 123456 </div>
<div class="formText-black">for more information</div> <br>
(2) and then i tried nesting the divs
<div class="formText-black">Fill in this form or phone
<div class="formText-white">0113 123456 </div>
for more information</div> <br>
i hope my question makes sense. and thanks in advance.
cheers
david
More information about the thelist
mailing list