Link to home
Start Free TrialLog in
Avatar of tenriquez199
tenriquez199

asked on

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

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
Avatar of himanshut
himanshut
Flag of Australia image

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>
Avatar of tenriquez199
tenriquez199

ASKER

himanshut



thanks

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

has you other idea? thanks a lot
Avatar of Sathish David  Kumar N
write in CSS file and call that where you need  Class thats all
ASKER CERTIFIED SOLUTION
Avatar of himanshut
himanshut
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
excelente himanshut thanks