I have a list of names and dates, this is just a small selection for demo purposes.
I want to make the whole line bold and make the name a different colour to the rest of the line. I have quite a number of these to do and we are not sure what colour we will use at the moment.
This is just an example of what we need to do.
Is there a way of doing this using an element for each name, rather than putting an inline style on each line?
Keith
Code:
<li>John Smith: Died 23rd. August 1906</li>
<li>Jack Jones: Died 13th. July 1914</li>
<li>Bill Wade: Died 12th. January 1918</li>
I want to make the whole line bold and make the name a different colour to the rest of the line. I have quite a number of these to do and we are not sure what colour we will use at the moment.
This is just an example of what we need to do.
Code:
[b][red]John Smith:[/red] Died 23rd. August 1906[/b]
[b][red]Jack Jones:[/red] Died 13th. July 1914[/b]
[b][red]Bill Wade:[/red] Died 12th. January 1918[/b]
Keith