Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jun 2011
    Posts
    46
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Problems with Facebook like/share despite valid code

    I'm finally getting the format of my page the way I want it, but I can't seem to wrangle in the facebook like/share (and I've given up on trying to get the tweet button in there on the same line).

    I've checked my code and it's valid but it is rendered drastically different in IE V7.05 (not the way I want it) vs Firefox V3.68 (exactly the way I want it).

    Page: http://www.infolists.com/testnew.htm

    Any idea what is causing this? I'm guessing there is some formatting getting tossed in when javascript loads the FB code that has some formatting variables I don't want. Anyone worked with this stuff extensively?

    I'd love to have a little widget menu like this one (http://www.marketwatch.com/story/oil...zle-2011-07-01) with facebook, twitter, and my own comment and print buttons. But I'm nowhere near good enough with javascript to get into that. Is there any way to do something like that with CSS? Or are there just too many different variables to deal with for each individual tool?

    PS> Sorry for posting a new thread for the same page, but the subject of my question is so different I didn't think it would get any attention in the old thread.

  • #2
    New Coder
    Join Date
    Jun 2011
    Posts
    49
    Thanks
    8
    Thanked 2 Times in 2 Posts
    If you have Dreamweaver, it allows you to create a similar menu like that without Javascript if I am not mistaken.

  • #3
    New Coder
    Join Date
    Jun 2011
    Posts
    46
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Interesting. Any idea how to start?

  • #4
    New Coder
    Join Date
    Jun 2011
    Posts
    46
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Ok, I figured out my basic problem.

    It appears that using float:right is interpreted slightly different in IE vs FF. I had to move the span that floats right to be the very first thing inside that parent div tag (instead of putting things in logical order) to keep it from displaying with an extra line break (and thus dropping it outside the div).

  • #5
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    Might want to set meta propertys when using facebook material.

  • #6
    New Coder
    Join Date
    Jun 2011
    Posts
    46
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Yes I will Sammy, I'm just building the template first. Then have to use php to build the tags for each individual page from the database on the fly. But good lookin out!


  •  

    Posting Permissions

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