how to indent code

  • 1
  • Question
  • Updated 8 years ago
  • Answered
If you go to Radio shows/In Transition archives and click on any of the letters you will see that the text is left justified. I want to be able to indent it so that it is more centered. How can I do this? This is a HTML code container so there is code in this block.
Photo of Randy

Randy

  • 643 Posts
  • 8 Reply Likes
  • confident

Posted 8 years ago

  • 1
Photo of KanThaiDecor

KanThaiDecor

  • 2402 Posts
  • 263 Reply Likes
Have you tried adding the code via the html button in the text widget? Afterwards you can indent text using the text indent button.
Photo of Randy

Randy

  • 643 Posts
  • 8 Reply Likes
I thought of that but I would have to do that 26 times for each letter of the alphabet. I will try it though. Thanks John!!
Photo of Randy

Randy

  • 643 Posts
  • 8 Reply Likes
Just tried it out and it doesn't work very well. The links display with underlines in the text widget and display correctly without lines in the HTML widget. I was looking for some kind of HTML tag that I could use to set a fixed indent that I could use throughout the alphabet so that they all display properly.
Photo of KanThaiDecor

KanThaiDecor

  • 2402 Posts
  • 263 Reply Likes
Was worth a shot......We have some very talented young adults here that are awesome with code.....Maybe one of them will see this post soon.
Photo of Randy

Randy

  • 643 Posts
  • 8 Reply Likes
Thanks again John. Like I said before, I thought about doing that but realized that there were more issues I had to deal with and that some kind of HTML tag would serve my purpose when it comes to indenting.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Randy

I'm not sure if this code will work but you can give it a go on a test page:

<!--<style type="text/css">
p { margin-left: 40px;" }
</style>-->

Please let me know how this goes.