Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2013
    Posts
    81
    Thanks
    45
    Thanked 0 Times in 0 Posts

    How to achieve this?

    So I want the icons to be in the middle.

    Here is how i want.


    Thanks guys

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Posts
    139
    Thanks
    17
    Thanked 6 Times in 6 Posts
    In the middle of what ?

    What's the code to produce that you have ?

  • #3
    Regular Coder
    Join Date
    Aug 2012
    Posts
    145
    Thanks
    0
    Thanked 26 Times in 26 Posts
    Could you do something like this with CSS & adjust accordingly?
    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <style type="text/css">
    img{
    margin:-10px auto;
    
    }
    </style>
    </head>
    
    <body>
    
    <h4>Image with default alignment (align="bottom"):</h4>
    <p><img src="Your image source" alt="Smiley face" width="32" height="32"> This is some text.</p>
    
    </body>
    </html>
    1 Corinthians 15:3-4 / Ephesians 2:8-9 - What or Who are you living for? Jesus is returning very soon

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,928
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    The first question would be how the icon is embedded. Via HTML or CSS.


  •  

    Posting Permissions

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