Forums Geocaching in Wisconsin Help HTML code for centering text or pics

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1723604

    Can someone please tell me what to add to the HTML code so I can center a picture or text?

    When building a cache page and adding a small pic after any text, the pic is always off center and ends up splitting up the paragraph that it’s not even supposed to be attached to.

    Example

    Thanks!

    #1764495

    good old fashion still works

    #1764496

    Also, do not include your tags in the same paragraph as your text. In this example, you have the following code:

    It does not matter which one you find first. Though I think the new
    conatiner will be the easiest to find. <a href=
    "http://www.kicktheoilhabit.org" target="_blank"><img src=
    "http://www.kicktheoilhabit.org/img/links/150x200.gif" alt=""
    height="200" width="150" border="0">

    Change it to be:

    It does not matter which one you find first. Though I think the new
    conatiner will be the easiest to find. <a href=
    "http://www.kicktheoilhabit.org" target="_blank"><img src=
    "http://www.kicktheoilhabit.org/img/links/150x200.gif" alt=""
    height="200" width="150" border="0">

    Notice the /span and /p tags are moved from the bottom to the end of the text.

    #1764497

    Thanks to both of you, this is exactly what I needed. HTML is very new to me, but I’m starting to get the hang of it. Yet another thing I owe to geocaching. I LOVE THIS SPORT!

    #1764498

    Thanks to both of you, this is exactly what I needed. HTML is very new to me, but I’m starting to get the hang of it. Yet another thing I owe to geocaching. I LOVE THIS SPORT!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.