Solved

Adding coloured background to text string

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

943 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now