Log in

View Full Version : CSS help..



tracked1
12-13-2010, 10:53 PM
I'm trying to change the font of a widget used on my website. I need to know how to do this using CSS. Any help much appreciated.

Schmoopy
12-13-2010, 10:55 PM
If you could post the code you're using, it would be helpful.

How do you want the font changed? Size, bold, italic, underline?

tracked1
12-13-2010, 10:58 PM
Here it is

<H2></H2>
<UL id=twitter_update_list></UL><A style="PADDING-BOTTOM: 10px; DISPLAY: block; COLOR: #000000; MARGIN-LEFT: 0px" id=twitter-link href="http://twitter.com/USER"></A>
<UL></UL>
<DIV></DIV>
<SCRIPT type=text/javascript src="http://twitter.com/javascripts/blogger.js"></SCRIPT>

<SCRIPT type=text/javascript src="http://twitter.com/statuses/user_timeline/USER.json?callback=twitterCallback2&amp;count=1"></SCRIPT>

tracked1
12-13-2010, 10:58 PM
Also I want the font changed to Courier..

Schmoopy
12-13-2010, 10:59 PM
Okay, that's one part. But what do you want done to the font?

How do you want it to look?

Just saw the post above ^^



<A style="PADDING-BOTTOM: 10px; DISPLAY: block; COLOR: #000000; MARGIN-LEFT: 0px; font-family:Courier" id=twitter-link href="http://twitter.com/USER"></A>

tracked1
12-13-2010, 11:03 PM
It (the feed) appears on my website in Times New Roman, I want it to match the rest of my website which is in Courier New.

Schmoopy
12-13-2010, 11:05 PM
Probably to do with the other element, try this:



<UL id="twitter_update_list" style="font-family:Courier"></UL>


Better done through CSS, although this will do what you want.

tracked1
12-13-2010, 11:07 PM
Thank you for your help, where should I put that code? in place of the old one or inside the old one?

Schmoopy
12-13-2010, 11:08 PM
In place of it.

tracked1
12-13-2010, 11:11 PM
Works a treat thank you so much!

Schmoopy
12-13-2010, 11:12 PM
No problem, good luck with your site :)

tracked1
12-13-2010, 11:15 PM
Sorry to be a pain is there a simular way I change the font size?

Schmoopy
12-13-2010, 11:22 PM
You can change the font size like so:



<UL id="twitter_update_list" style="font-family:Courier;font-size:12px"></UL>


Just change where I've put "12" to fit your needs.

tracked1
12-13-2010, 11:27 PM
Again, thank you.

tracked1
12-14-2010, 11:44 PM
Got some v useful help yesterday changing font and font size, cant seem to change colour (tried the obvious I think) can anyone help?
<UL id="twitter_update_list" style="font-family:Courier;font-size:12px"></UL>
Sorry what I meant was: There's a link at the end (posted 2 days ago for example) of my feed that I cant control the colour of. Any ideas? muchly appreciated!