Quote:
Originally Posted by tempz
Simple method:
Code:
blockquote:first-letter {
text-transform: uppercase;
}
You should always target the elements you want to style i.e
Code:
h1.myclass a:first-letter {
text-transform: uppercase;
}
that means: H1 of myclass find "a" tag change first letter to uppercase
When you show code on this forum please place your code with in [C ODE][/CODE]
Thankyou
|
ah, I see! I'm sorry, I actually checked a few other topics to see if there was a 'code' tag but I didn't see it being used, so I ended up not using it. That's better, thank you.

I understand that! I wanted to make decorated first letters especifically in blockquotes, so in that particular case there wouldn't be much use for first-letter, is that right?
Quote:
Originally Posted by coothead
Hi there Chell,
and a warm welcome to these forums.
I think that it might be safer to use the " span element" for your project.
Check out the attachment to see it in operation.
coothead
|
Whoa, thanks a bunch!

The span alternative sure works well (it looks great too) and I guess it's the most semantically correct way of doing it, yes? But that would require extra coding as well. So I'm guessing there isn't any way of doing it 'automatically' using only CSS?
Thanks so much for the help, both of you!