• Hello how can i center this images on my blog ? using CSS instead?
    my blog : https://www.vitamineproteine.com
    i have created one html widget and put in the sidebar with social network icons. but when i try to validate my html
    i get this error: Deprecated HTML tags are HTML tags that are no longer used. It is recommended that you remove or replace these HTML tags because they are now obsolete.
    Can anyone help me and give me a Good code to center this image?
    thanks

    <center><a href="https://twitter.com/Vita_Prot"><img class="alignnone size-full wp-image-2752" style="border: none;" title="Twitter" src="https://www.vitamineproteine.com/wp-content/uploads/2012/09/twitter.png" alt="" width="64" height="64" /></a><a href="https://www.facebook.com/pages/Vitamine-Proteine/315778921853501"><img class="alignnone size-full wp-image-2751" style="border: none;" title="Facebook" src="https://www.vitamineproteine.com/wp-content/uploads/2012/10/Facebook.png" alt="" width="64" height="64"  /></a>
    <a href="https://plus.google.com/u/0/103699025080619492549/posts">
    <img class="size-full wp-image-2753 alignnone" style="border: 0px;" title="Google Plus" src="https://www.vitamineproteine.com/wp-content/uploads/2012/09/google-plus.png" alt="" width="64" height="64"/></a>
    <a href="https://plus.google.com/103699025080619492549?prsrc=3" rel="publisher"></a></center>
Viewing 11 replies - 1 through 11 (of 11 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter mariushosting

    (@marius84)

    i have try but unfortunatly dont work this is the why i have post here

    hey try this

    <center><a href="https://twitter.com/Vita_Prot"><img class="alignnone size-full wp-image-2752" style="border: none;" title="Twitter" src="https://www.vitamineproteine.com/wp-content/uploads/2012/09/twitter.png" alt="" width="64" height="64" /></a><a href="https://www.facebook.com/pages/Vitamine-Proteine/315778921853501"><img class="alignnone size-full wp-image-2751" style="border: none;" title="Facebook" src="https://www.vitamineproteine.com/wp-content/uploads/2012/10/Facebook.png" alt="" width="64" height="64" align="center"/></a>
    <a href="https://plus.google.com/u/0/103699025080619492549/posts">
    <img class="size-full wp-image-2753 alignnone" style="border: 0px;" title="Google Plus" src="https://www.vitamineproteine.com/wp-content/uploads/2012/09/google-plus.png" alt="" width="64" height="64" align="center"/></a>
    <a href="https://plus.google.com/103699025080619492549?prsrc=3" rel="publisher"></a></center>

    Thread Starter mariushosting

    (@marius84)

    hi Evo88 you post the same code at first post

    Replace :
    <center></center>
    with :
    <div style="text-align:center;"></div>

    Thread Starter mariushosting

    (@marius84)

    kevinhaig
    thank you very very VERY much i have solved!
    with your CODE!!!
    :))))))
    YUPPPPPPPPPPPP

    hey Marius
    no my brother not same i add align=”center” this code help to make image in center ??

    Thread Starter mariushosting

    (@marius84)

    yep evo88 but i get the same error msg with our code with w3c validator
    the best kevinhaig have solved fast my probelm with the code
    <div style=”text-align:center;”></div>

    yup yup yup

    Your welcome

    oh nice my brother ?? and thank you Kevinhaig ??

    Thread Starter mariushosting

    (@marius84)

    thank you all for your time!

    ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘how to center image’ is closed to new replies.