HTML in Table: Indent Text on the Left and on the Right

HTML in Table: Indent Text on the Left and on the Right

by Graham Clark -
Number of replies: 1

I'm trying to use HTML to create a left and right indent on a block of text within a table. When I preview my code I can see the indent is working as it should on the left and on the right. However, when I save my change I don't see the indent at all. Can someone please help me?

My code looks like this: 

  • p style="padding-left: 75; padding-right: 75;"
Average of ratings: -
In reply to Graham Clark

Re: HTML in Table: Indent Text on the Left and on the Right

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

You forgot the pixels smile

p style="padding-left: 75px; padding-right: 75px;"

However, you may be better using <blockquote></blockquote> tags arround the text rather that trying to style the paragraph <p></p> tag.

blockquote tags are styled automatically in Moodle so are p tags.

READ THIS it explains how the blockquote tag works


Cheers

Mary