Monday, June 6, 2011

How do i change the font styles of web feeds?

This is what i (and others) have on their page.



%26lt;script language= ';JavaScript'; src=';http://www.somesitename.com/1/5.js'; type=';text/javascript';%26gt;%26lt;/script%26gt;



This is the code thats in the .js file:

document.write('%26lt;font color=';#333333'; size=';2'; face=';Arial, Helvetica, sans-serif';%26gt;%26lt;a href=';link1.html'; STYLE=';text-decoration: none';%26gt;This is where the news event will go%26lt;/a%26gt;%26lt;/font%26gt;%26lt;br%26gt;');



According to this the font colour should be 333333 which is dark grey. However as the text is hyperlinked it came up as underlined blue font. So i put the STYLE=';text-decoration: none'; in which removed the underline in the links. But why is the font still blue?

How can i change the font colour to 333333 so it shows as 333333 on peoples pages?How do i change the font styles of web feeds?
In your style declaration within the %26lt;a%26gt; tag, add a ; after the none and add color:#333333.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.