- This topic has 4 replies, 3 voices, and was last updated 19 years, 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
› Forums › Geocaching in Wisconsin › Help › HTML code for centering text or pics
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.
Thanks!
good old fashion still works
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.
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!
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!