Avatar of isnoend2001
isnoend2001
Flag for United States of America asked on

Trying to indent some text

On this page:
http://roofgenius.com/test2.asp
I am trying to get these 3 lines of text moved to the right 20px;
Legend Cost:
Low = 1
High = 10
My last attempt:
<p class="Bfont12" style="margin-left:20px;"></br>
<span style="display:block;">Legend</span>
Cost: Low = 1<br />
High = 10
</p>
How can i do this ?
CSS

Avatar of undefined
Last Comment
COBOLdinosaur

8/22/2022 - Mon
SOLUTION
Adrian Crabtree

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
COBOLdinosaur

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
APoPhySpt

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
COBOLdinosaur

<p class="Bfont12" style="padding-left:20px;">
<pre>
Legend
Cost: Low = 1
High = 10
</pre></p>


Cd&
isnoend2001

ASKER
Thanks everyone
isnoend2001

ASKER
I have tried all the solutions to no avail
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
COBOLdinosaur

You have a p tag nested inside a p tag... that is invalid and breaks the structure.

<p class="Bfont12" style="padding-left:70px;">
<p>
Legend Cost:<br />
 Low = 1<br />
High = 10
</p>
</p>

should be:
<p class="Bfont12" style="padding-left:70px;">
Legend Cost:<br />
 Low = 1<br />
High = 10
</p>


Cd&
isnoend2001

ASKER
Made no difference
isnoend2001

ASKER
Probably not the best way,but this works:
<br />
<p style="padding-left:200px;">
<span class="Bfont12">Legend Cost:</span><br />
 Low = 1<br />
High = 10
</p>

http://roofgenius.com/test.asp
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
COBOLdinosaur

It looks fine in FF, Chrome and IE10.  A bit messy in compatibility mode; but that is to be expected.

Cd&