Hi, how do I <id> a word/phrase in the middle of a <p>, so that I can apply CSS to it?
ie the html might be:
<p>css is very complicated</p>
and I want VERY in bold.
I know this is not a great example, but I hope you're able to understand my query.
many thanks
larmyia
<id> question
just use the <strong>....</strong> for bold... that still a very valid tag
but... if you want to say, change the color or something like that then use a span ... ie
This is <span class="green">green</span>.
and the css would be
.green { color: #009; }
hth
<id> question
thanks so much! that's EXACTLY what I need. you're a star!
larmyia
<id> question
I've just been trying it and I'm not sure...maybe I asked the wrong thing...
I have two sentences that I want on the same line, one aligned to the right, one to the left. the <span> thing doesn't appear to be working. should I just put several " " in between the two lines?
<id> question
I've just been trying it and I'm not sure...maybe I asked the wrong thing...
I have two sentences that I want on the same line, one aligned to the right, one to the left. the <span> thing doesn't appear to be working. should I just put several " " in between the two lines?
That's a different question than the one that started the thread. You really should have begun a new topic.
<p><span style="float: right;">This is to the right</span>and this is to the left</p> <p style="text-align: right;"><span style="float: left;">This is to the left</span>and this is to the right</p>and a whole bunch of other variations on a theme.
cheers,
gary