Solved

how can i set diferrent fon t color in cell tables html

Posted on 2012-03-25
5
238 Views
Last Modified: 2012-03-26
hi

i have ant html file, in this i have a html table, i need to alternate color cell

example cell row 2 col2 = blue
cell row 3 col 2 = red


is it possible?

thanks a lot
index.html
0
Comment
Question by:tenriquez199
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:himanshut
ID: 37764169
Here You go:

    <table>
        <tr>
            <td>
            </td>
            <td style="background-color: Blue">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td style="background-color: Red">
            </td>
        </tr>
    </table>
0
 
LVL 1

Author Comment

by:tenriquez199
ID: 37764227
himanshut



thanks

i need to chenge color font text, the solution you give me change bakground cell

has you other idea? thanks a lot
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 37764547
write in CSS file and call that where you need  Class thats all
0
 
LVL 10

Accepted Solution

by:
himanshut earned 500 total points
ID: 37769335
<table>
        <tr>
            <td>
            </td>
            <td style="background-color: Blue;">
                <font color="red">Hello Red</font>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td style="background-color: Red">
                <font color="Blue">Hello Blue</font>
            </td>
        </tr>
    </table>
0
 
LVL 1

Author Closing Comment

by:tenriquez199
ID: 37769391
excelente himanshut thanks
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
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.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
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…

762 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