Solved

Adding coloured background to text string

Posted on 2006-06-16
2
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media Queries  not Firing 6 26
displaying 3 dropdownlist  horizontally 3 31
I'm a Human captcha checkbox 13 39
How to escape unsafe HTML tags 4 36
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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 learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

735 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