Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: CSS help..

  1. #1
    Join Date
    Dec 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS help..

    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.

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    If you could post the code you're using, it would be helpful.

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

  3. #3
    Join Date
    Dec 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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>

  4. #4
    Join Date
    Dec 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also I want the font changed to Courier..

  5. #5
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    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 ^^

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

  6. #6
    Join Date
    Dec 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  7. #7
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Probably to do with the other element, try this:

    Code:
    <UL id="twitter_update_list" style="font-family:Courier"></UL>
    Better done through CSS, although this will do what you want.

  8. #8
    Join Date
    Dec 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your help, where should I put that code? in place of the old one or inside the old one?

  9. #9
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    In place of it.

  10. #10
    Join Date
    Dec 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Works a treat thank you so much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •