Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

?
Lv 6

Blogger HTML help - to center images in my posts?

Hi, well it seems like a basic thing but I can't figure out what I need to put in my design/HTML stuff so make ALL images/videos appear in the centre of my blog posts... they're all on the left at the moment. I dont want to have to center them all individually, I need something to put in my design HTML if possible?

Thanks.

2 Answers

Relevance
  • Anonymous
    9 years ago
    Favorite Answer

    This shows how to center the theme which may help you figure out what you want to do:

    Tumblr Theme Centering: http://forums.htmlhelp.com/index.php?showtopic=875...

    Ron

  • 9 years ago

    You have 2 option.

    1) The good old center tag <center></center>

    2) Using CSS styling margin

    example 1 :

    <center>This is center text</center>

    example 2:

    make a div with the style like this:

    <div class="centerWraper">

    This is div content

    </div>

    for the example 2 style :

    .centerWraper{

    margin-left: auto;

    margin-right: auto;

    }

    Hope this helps.

    Cheers!

    Source(s): www.codersinside.com
Still have questions? Get your answers by asking now.