Problem styling Twitter Widget in sidebar

Discussion in 'CSS' started by theplastickid, Aug 17, 2009.

  1. #1
    Hi,

    I am attempting to put a basic twitter widget in the sidebar of a site Im making but it is not displaying properly at all.

    It looks like it is not actually generating the twitter update although when I disable all CSS styles the update is being generated.

    This is my markup copy and pasted exactally as twitter has generated:

    and this is how it is displaying...

    [​IMG]

    If my CSS styles are disabled I get this:

    [​IMG]

    I am running other java script on the page in the head of my document to create a lightbox effect. I don't know if this would effect the feed or not??

    Appreciate any help,
    Thanks.
     
    theplastickid, Aug 17, 2009 IP
  2. theplastickid

    theplastickid Well-Known Member

    Messages:
    261
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #2
    I have placed the code in a plan empty html doc and styles with CSS and it worked fine... So I can see what is causing the problem here.

    Could it be the other javascript? Or the fact that my home page is a .php file? :confused:
     
    theplastickid, Aug 17, 2009 IP
  3. c4gamerz

    c4gamerz Well-Known Member

    Messages:
    294
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #3
    you have not properly closed li tags

    your code

    modified code

    <li> should be placed before <a tag and it should be closed after </a> ;)
     
    c4gamerz, Aug 17, 2009 IP
  4. theplastickid

    theplastickid Well-Known Member

    Messages:
    261
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #4
    theplastickid, Aug 17, 2009 IP
  5. theplastickid

    theplastickid Well-Known Member

    Messages:
    261
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #5
    Exact same code in a new blank document

    [​IMG]

    Works fine. I cant understand why it isn't displaying properly on my page.
     
    theplastickid, Aug 17, 2009 IP