Click here to Skip to main content
15,672,471 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have javascript code(reading rss) that is generated by another site.
I put it in my works fine but I want to add css style to the code but I don't know how to do it,
would some body please help me?
the code I use in my page is :

<script language="javascript"src=" =FFFFFF">

1 solution

You do not add css style to javascript, it is meant to style HTML. Refer: Beginner's Guide to HTML5 & CSS3 - Styling Your First Web Page[^]
Share this answer
behish 16-Aug-14 1:57am    
Dear Peter Leow
thanks for your answer,I can add css to my
that hold the generated code,
but my problem is that I want to add css to
that is generated by javascript.
the javascript creates below tags, I want to add css to <td>

<table border="0" align="center" cellspacing="0" width="200" cellpadding="0" style="border: 1px solid #FFFFFF; background-color: FFFFFF; font-family: Tahoma; font-size: 9pt" dir="rtl"><tbody><tr><td><table border="0" align="center" cellspacing="0" width="99%" cellpadding="0" style="font-family: Tahoma; font-size: 9pt" dir="rtl"><tbody><tr><td>some text here</td></tr></tbody></table></td></tr></tbody></table>
Peter Leow 16-Aug-14 2:04am    
Read my article.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900