Is there any way with css to have every first word in every paragraph to be either bold or a different color? If so what is the coding for that?? Thanks ahead of time.
<span> the word then style
<span> the word then style the span based on it's parent p span{font-weight:bold;} or class the span .fword {font-weight:bold;}
Thanks for getting back to
Thanks for getting back to me so quick Hugo.
Im new at this and still dont get it.
Here is the code im using for the bold type. (the only type I want bold in the paragraph is Information.
Information:
(716) 874-5600
But this is the include file for an asp page I have that has 2 css attached to it. So im not sure what to do to make this work. Sorry for the newbie attitude.
Thanks Again.
Instead of generating the
Instead of generating the strong tag, have it generate this:
Information:
(716) 874-5600
then in your CSS (either one, it doesn't matter) use this:
p span {
font-weight: bold;
color: yellow;
font-size: 40px;
}
Mildly confused now that you
Mildly confused now that you have said that you already genrate a <strong> element . This element is already emboldened is it just that you don't want the actual tag?
looking at the markup content might suggest a better set of elements such as perhaps a dl list.