Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Put different color

Posted on 2013-01-06
1
Medium Priority
?
338 Views
Last Modified: 2013-01-06
Hi,
In this page below, how can I specifically put different color in different area?
http://dl.dropbox.com/u/40211031/Default2.aspx
0
Comment
Question by:HuaMinChen
1 Comment
 
LVL 12

Accepted Solution

by:
duttcom earned 2000 total points
ID: 38749669
You have tried a few different approaches to using background colours, but they aren't quite right.

Firstly, ForeColor is not an attribute of the TD tag-

<td align="right" ForeColor="#0A2757"> should be
<td align="right" bgcolor="#0A2757">, or better still
<td align="right" style="background-color:#0A2757;">

Background-color needs to be included in the style attribute -

<div id="Dv1" style="text-align:left" background-color:1BA8E0> should be
<div id="Dv1" style="text-align:left;background-color:#1BA8E0;">

Note that I have ended each CSS attribute with a semi-colon.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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…
Suggested Courses

877 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