SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast AimyThomas's Avatar
    Join Date
    Sep 2011
    Posts
    46
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Align images horizontally in a div - Need a Help

    I have a static website and want to add social media link buttons like twitter, facebook and likedin and all buttons should be display horizontally but the problem was that when I put first button its look well as per my program but when I place the second button within the div it puts itself under the first button, in its place of to the right of the first button I try lots but still its not working
    Help me

    Thanks in Advance

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,401
    Mentioned
    147 Post(s)
    Tagged
    4 Thread(s)
    Can you give a link so we can see it?
    Or post the html and css code?

  3. #3
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,747
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    As guido says, we'll need to see the code.

    First thought at the behavior described is that they're being rendered as block elements... style='display:inline' both the buttons?
    Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •