?
Solved

change font color to white

Posted on 2010-01-11
4
Medium Priority
?
273 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
[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
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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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…
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

770 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