Results 1 to 9 of 9
-
9th May 2012, 01:35 AM #1OPMember
Newbie question: how to align to right?
Hello guys,
Can someone of you can help me with a little issue?
I added facebook and twitter in my header as you can see here:
But I don't know how to add a space between the two images...
I used <div align right, so I cant give a space...
Any idea how to solve this?
My current code:
PHP Code:<div align="right">
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/twitter.png" alt="picture of a pumpkin" align=right></a>
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/facebook.png" alt="picture of a pumpkin" align=right></a>
</div>
Divvy Reviewed by Divvy on . Newbie question: how to align to right? Hello guys, Can someone of you can help me with a little issue? I added facebook and twitter in my header as you can see here: http://i.imgur.com/ZZ6GB.png But I don't know how to add a space between the two images... I used <div align right, so I cant give a space... Rating: 5
-
9th May 2012, 01:37 AM #2MemberWebsite's:
forumflare.com<div align="right">
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/twitter.png" alt="picture of a pumpkin" align=right></a> <a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/facebook.png" alt="picture of a pumpkin" align=right></a>
</div>
-
9th May 2012, 01:43 AM #3OPMember
Thank you for your reply Exel,
I tried that before too, and didn't worked
Anymore suggestions?
-
9th May 2012, 02:10 AM #4MemberWebsite's:
mafiaWarez.com phaze.co katzbb.com massddl.com buspic.comtry this
<div style="float:right;margin-left:5px;">
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/twitter.png" alt="picture of a pumpkin" ></a>
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/facebook.png" alt="picture of a pumpkin"></a>
</div>
-
9th May 2012, 02:11 AM #5Member
Um you have way too many aligns. Here's the quick fix.
This works because your div is aligned to the right (that's the container for your pics).
You just want a space between twitter and facebook so adjust the CSS margins.
This code will put Twitter<5pixel space>Facebook
Code:<div align="right"> <a href="#"><img style="margin:0 5px" src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/twitter.png" alt="picture of a pumpkin" ></a> <a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/facebook.png" alt="picture of a pumpkin" ></a> </div>
-
9th May 2012, 09:55 PM #6Respected Developer
give your div an id and use padding.
HTML:
PHP Code:<div id="social">
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/twitter.png" alt="picture of a pumpkin" /></a>
<a href="#"><img src="http://givingcancerthefinger.com/wp-content/plugins/social-sharing-toolkit/images/icons_medium/facebook.png" alt="picture of a pumpkin" /></a>
</div>
PHP Code:#social img { padding: 0 4px;}
Bots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
10th May 2012, 08:55 PM #7MemberWebsite's:
mjcoder.co.uk mjcoder.posterous.comdont do in-line styling on the actual div it just gets messy use the CSS file and do your styling in there
margin/padding will solve your problem out. This needs to be applied on the img
-
17th May 2012, 11:21 AM #8OPMember
Thank you guys :-)
Is fixed now.
-
17th May 2012, 11:43 AM #9MemberWebsite's:
MovieZya.comWhat's the name of the site you are building this social share, maybe i can give you some ideas.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Newbie SEO Google ranking question
By riship316 in forum Whitehat SEOReplies: 1Last Post: 17th Oct 2012, 02:02 PM -
Newbie question: best filehost for personal blogs?
By budokan in forum File Host DiscussionReplies: 9Last Post: 5th Aug 2012, 02:01 AM -
just a newbie question
By wakaski in forum Webmaster DiscussionReplies: 3Last Post: 31st Jan 2012, 04:32 AM -
Newbie Question About Rapidleech And Download - Upload Automation
By niol in forum File Host DiscussionReplies: 2Last Post: 29th Nov 2011, 02:45 AM -
How to center align ads..?
By Hatefed in forum vBulletinReplies: 3Last Post: 9th Nov 2010, 03:13 PM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...