isnoend2001
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;">Leg end</span>
Cost: Low = 1<br />
High = 10
</p>
How can i do this ?
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;">
<span style="display:block;">Leg
Cost: Low = 1<br />
High = 10
</p>
How can i do this ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks everyone
ASKER
I have tried all the solutions to no avail
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&
<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&
ASKER
Made no difference
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
<br />
<p style="padding-left:200px;
<span class="Bfont12">Legend Cost:</span><br />
Low = 1<br />
High = 10
</p>
http://roofgenius.com/test.asp
It looks fine in FF, Chrome and IE10. A bit messy in compatibility mode; but that is to be expected.
Cd&
Cd&
<pre>
Legend
Cost: Low = 1
High = 10
</pre></p>
Cd&