Social Buttons CSS problem
-
Okay, So I’ve created my header bar and now added some social buttons to the right of my header image. However the actual link to the object seems to be off to the left of the object, its driving me insane. I’ve tried various positioning tags, played out with the float etc
I have to admit that I’m new to CSS so this may be an easy fix, but any advice would be great!
Site – https://www.ukhiking.co.uk
Code below.
header.php
<div id="social_facebook"> <a href="https://www.facebook.com/ukhiking/" target="_blank"><img alt="Facebook" src="phpBB3/styles/prosilver/theme/images/social/social_facebook.png"></a> </div> <div id="social_twitter"> <a href="https://www.twitter.com/ukhiking/" target="_blank"><img alt="Twitter" src="phpBB3/styles/prosilver/theme/images/social/social_twitter.png"></a> </div> <div id="social_google"> <a href="https://www.google.com/ukhiking" target="_blank"><img alt="Google +" src="phpBB3/styles/prosilver/theme/images/social/social_google.png"></a> </div> <div id="social_rss"> <a href="https://feeds.feedburner.com/ukhiking" target="_blank"><img alt="RSS Feed" src="phpBB3/styles/prosilver/theme/images/social/social_rss.png"></a> </div>
style.css
#social_facebook { float: right; height: 24px; position: relative; right: 87px; top: 135px; z-index: 99999999999; } #social_twitter { float: right; height: 24px; position: relative; right: -4px; top: 135px; z-index: 99999999999; } #social_google { float: right; height: 24px; position: relative; right: -95px; top: 135px; z-index: 99999999999; } #social_rss { float: right; height: 24px; position: relative; right: -186px; top: 135px; z-index: 99999999999;
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Social Buttons CSS problem’ is closed to new replies.