Solved

Adding coloured background to text string

Posted on 2006-06-16
2
181 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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 …

840 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