Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-01-2011, 04:32 PM   PM User | #1
kwdamp
New Coder

 
Join Date: Jun 2011
Posts: 41
Thanks: 0
Thanked 2 Times in 2 Posts
kwdamp is an unknown quantity at this point
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.
kwdamp is offline   Reply With Quote
Old 07-01-2011, 05:45 PM   PM User | #2
RiskyShenanigan
New Coder

 
Join Date: Jun 2011
Posts: 49
Thanks: 8
Thanked 2 Times in 2 Posts
RiskyShenanigan is an unknown quantity at this point
If you have Dreamweaver, it allows you to create a similar menu like that without Javascript if I am not mistaken.
RiskyShenanigan is offline   Reply With Quote
Old 07-01-2011, 06:03 PM   PM User | #3
kwdamp
New Coder

 
Join Date: Jun 2011
Posts: 41
Thanks: 0
Thanked 2 Times in 2 Posts
kwdamp is an unknown quantity at this point
Interesting. Any idea how to start?
kwdamp is offline   Reply With Quote
Old 07-02-2011, 09:16 PM   PM User | #4
kwdamp
New Coder

 
Join Date: Jun 2011
Posts: 41
Thanks: 0
Thanked 2 Times in 2 Posts
kwdamp is an unknown quantity at this point
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).
kwdamp is offline   Reply With Quote
Old 07-02-2011, 09:17 PM   PM User | #5
Sammy12
Registered User

 
Join Date: Jun 2011
Posts: 1,063
Thanks: 12
Thanked 241 Times in 240 Posts
Sammy12 is on a distinguished road
Might want to set meta propertys when using facebook material.
Sammy12 is offline   Reply With Quote
Old 07-02-2011, 11:03 PM   PM User | #6
kwdamp
New Coder

 
Join Date: Jun 2011
Posts: 41
Thanks: 0
Thanked 2 Times in 2 Posts
kwdamp is an unknown quantity at this point
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!
kwdamp is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:33 PM.


Advertisement
Log in to turn off these ads.