Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pragraph Class rules 1

Status
Not open for further replies.

ClulessChris

IS-IT--Management
Jan 27, 2003
890
GB
Is it possible to use css to:
A. embolden (or Strong) the first few characters?
B. indent all but the first line?

I'd like to set up a p class to achive the following layout:

1994 - Attended World Championships
Gold Medal Men's Hevyweight Divison
Bronze Medal Team Divison



Never knock on Death's door: ring the bell and run away! Death really hates that!
 
definition list.
Fantastic, that I can use.

Never knock on Death's door: ring the bell and run away! Death really hates that!
 
If using a DL with the rule:
dt{
font-weight: bold;
}

And the mark-up:
<dl>
<dt>1994 </dt> Attended World Championships
<dd>Gold Medal Men's Hevyweight Divison</dd>
<dd>Bronze Medal Team Divison</dd>
</dl>

I get the output:
1994 Attended World Championships
Gold Medal Men's Hevyweight Divison
Bronze Medal Team Divison

how can I get this to embolden only the year as per original post?


Never knock on Death's door: ring the bell and run away! Death really hates that!
 
Sorry I should have stared a new thread with the last post, I'll do that now.

Never knock on Death's door: ring the bell and run away! Death really hates that!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top