Solved

Adding coloured background to text string

Posted on 2006-06-16
2
180 Views
Last Modified: 2010-04-09
Hi Experts

I want to colour the background of a text string if it meets a condition, my existing code is like this;

<td nowrap colspan="2<font color="#FF0000"><b>Supplier Invoice date:</b></font>

Please advise the syntax for colouring the background just of the phrase "Supplier Invoice date"

Thanks
RangerLad
0
Comment
Question by:RangerLad
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 250 total points
ID: 16919951
Hi RangerLad,

<td nowrap colspan="2" style="color:#FF0000;font-weight:bold;background-color:#00FFBB">Supplier Invoice date:</td>

For example, includes the font formatting you already have applied.

Tim Cottee
0
 

Author Comment

by:RangerLad
ID: 16920055
Hi Tim

Perfect, thanks

RangerLad
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question