View Full Version : Problems with Facebook like/share despite valid code

07-01-2011, 04:32 PM
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/oils-set-for-a-summer-of-slumps-or-sizzle-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.

07-01-2011, 05:45 PM
If you have Dreamweaver, it allows you to create a similar menu like that without Javascript if I am not mistaken.

07-01-2011, 06:03 PM
Interesting. Any idea how to start?

07-02-2011, 09:16 PM
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).

07-02-2011, 09:17 PM
Might want to set meta propertys when using facebook material.

07-02-2011, 11:03 PM
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!