?
Solved

change font color to white

Posted on 2010-01-11
4
Medium Priority
?
279 Views
Last Modified: 2012-05-08
Below is the html tag
Id like to change font color to "white"

    <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
            <table>
                <tr align="center" bgcolor="cornflowerblue">
                    <th width="100px">
                        Date</th>
                    <th width="200px">
                        Event</th>
                    <th width="200px">
                        Location</th>
                    <th width="100px">
                        Status</th>

        </HeaderTemplate>
    </asp:Repeater>
0
Comment
Question by:zachvaldez
  • 2
4 Comments
 

Expert Comment

by:Frog_1337
ID: 26284816
It should be as simple as adding font color ="white "
0
 

Author Comment

by:zachvaldez
ID: 26284831
which tag?
0
 

Assisted Solution

by:Frog_1337
Frog_1337 earned 200 total points
ID: 26285068
I am sorry I thought I added the tags

It would be something like this
<th width="100px" ><font color="white">Date</th></font>
0
 
LVL 23

Accepted Solution

by:
Snarf0001 earned 300 total points
ID: 26285470
The <font> tag is not the preferred method of changing color, it's rather old and is going to be discontinued in HTML5 i believe.

Use inline css styling instead.


<tr align="center" bgcolor="cornflowerblue" style="color:White;">
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

612 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