CSS: align social icons one one line, not under each other

Posted on 2013-11-06
Last Modified: 2013-11-08
Look at bottom right corner
There are some social icons

If i open this PHP page that control that module "Acymailing" in Frontpage 2003, the icons are alligned correctly.
It also worked on this page before, but have no idea why its not working anymore

I have added 2 tings:

In the php file for the module i added:
<div class="icons" >
<p align="center"><a href="">
<img border="0" src="" width="32" height="32" align="right"></a>
<a href="">
<img border="0" src="" width="32" height="32" align="right"></a>
<a href="">
<img border="0" src="" width="32" height="32" align="right"></a>
<a href="">
<img border="0" src="" width="32" height="32" align="right"></a></p>

Open in new window

Then in the template.css file i added:
.icons {
    padding-right: 49px;
    padding-top: 31px;

Open in new window

It has worked and I have not changed anything,so there has to be something else causing them to align under eachother instead of on one line

Anyone have an idea?
Kind Regards
Question by:morten444
  • 2

Accepted Solution

rgranlund earned 500 total points
ID: 39628729
Set the icons width.  Then set the height and width of sexythumb and float left.  Then yoiu should be cool.
.icons {
    padding-right: 49px;
    padding-top: 31px;

.sexythumb {

Open in new window


Author Closing Comment

ID: 39628738
Thanks alot :)

Expert Comment

ID: 39634052
Rock on!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS Style 8 42
Make login page safer 3 30
deprecated mysql extensions 1 22
A responsive image gallery using flexbox 6 12
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question