Solved

Adding coloured background to text string

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Newbie CSS questions 4 25
aligning image inside table cell 4 26
Library to convert HTML to PDF. 8 45
SVG Logo 4 19
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

758 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

21 Experts available now in Live!

Get 1:1 Help Now