Need help? Check out our Support site, then

Center html code, in text widget

  1. Hi people.

    My blog is (i upgrated my domain :) ).

    I have a widget text with html code, and i want to center it.

    I use the statement <center> and <center>, but here, does not work!

    How can i do it?

    Thank you!

    The blog I need help with is

  2. Nice! (for the domain name) :)

    Could you describe the contents of the widget? I can't tell which one at you are referring to.

  3. I have this code:

    <!-- Site Meter -->

    <img src="" alt="Site Meter" border="0" />

    <!-- Copyright (c)2009 Site Meter -->
    <!-- Start -->

    <font color="#331400"> Online Users</font>

    <!-- End -->

    First is to Sitemeter, and the other is to users online.

    I want do center the users online, but <center> code </center> does not work.

  4. Thanks. Try this:

    #text-3 .textwidget {
    text-align: center;
  5. Work!

    Thank you.

    But what means "#text-3"?

  6. That's the ID assigned to that specific text widget. You can find it by looking at the page source, which in this case looks like this:

    <li id="text-3" class="widget-container widget_text">

  7. Ok!

    Thank you!

  8. Cheers :)

Topic Closed

This topic has been closed to new replies.

About this Topic