xcoderx Posted May 17, 2010 Share Posted May 17, 2010 how to do the twitter follow me option with an twitter image which stay static either on the right or feft or bottom of a site but outside of the main template? it has to do with css but how could someone tell? Quote Link to comment Share on other sites More sharing options...
haku Posted May 17, 2010 Share Posted May 17, 2010 Got a link to an example? I don't use Twitter myself, and I'm probably not the only one. Quote Link to comment Share on other sites More sharing options...
xcoderx Posted May 17, 2010 Author Share Posted May 17, 2010 somethis like this http://modernfurnituretheme-ntb.blogspot.com/ but also some nice ones i saw with hover when one put cursor then the image saw follow me, unable to find that Quote Link to comment Share on other sites More sharing options...
haku Posted May 17, 2010 Share Posted May 17, 2010 They have set that with position:fixed. Quote Link to comment Share on other sites More sharing options...
xcoderx Posted May 17, 2010 Author Share Posted May 17, 2010 ok i did it this way, <div id="facebook"> <a href="[insert your link to linked in here]"><img src="style/images/facebook.png" alt="View our linked in profile" /></a> </div> <div id="twitter"> <a href="[insert your link to linked in here]"><img src="style/images/twitter.png" alt="View our linked in profile" /></a> </div> the css #twitter { top; position: fixed; top: 250px; width: 48px; height: 48px; z-index: auto; cursor: pointer; left: 0pt; color: transparent; } #facebook { top; position: fixed; top: 250px; width: 48px; height: 48px; z-index: auto; cursor: pointer; right: 0pt; color: transparent; border:0px; } where is the right place to place the div? above the header div or after the end of footer? Quote Link to comment Share on other sites More sharing options...
haku Posted May 18, 2010 Share Posted May 18, 2010 It doesn't really matter, though for SEO sake, at the end of the document is better, since you want your content as close to the start of your document as possible. Quote Link to comment Share on other sites More sharing options...
xcoderx Posted May 18, 2010 Author Share Posted May 18, 2010 done that bro thanks :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.