Hello all
Quick css question. I'm trying to format some text such that the text is different colors within a word - e.g. Simebaby, with the first four letters blue, and the next four orange. So in my css I've got
Which works fine - but what html tags to I put the classes in to keep the text on one line - e.g. I used <div>:
But that splits the text onto two lines.
Hopefully this makes sense - I'm out of touch with my web stuff, so I'm trying to avoid using font tags etc and bring myself into the new age!
TIA
Si.
Quick css question. I'm trying to format some text such that the text is different colors within a word - e.g. Simebaby, with the first four letters blue, and the next four orange. So in my css I've got
Code:
.logo1 {color: blue}
.logo2 {color: orange}
Which works fine - but what html tags to I put the classes in to keep the text on one line - e.g. I used <div>:
Code:
<div class="logo1">Sime</div><div class="logo2">baby</div>
But that splits the text onto two lines.
Hopefully this makes sense - I'm out of touch with my web stuff, so I'm trying to avoid using font tags etc and bring myself into the new age!

TIA
Si.