html - CSS indentation not working -


can give me idea how indent text here in css (click here) shown here:

so indented shown in image.

html:

<div class="atext">     <div>test 1 01</div>     <div>click here</div> </div> <div class="atext">     <div>test two</div>     <div>click here</div> </div> 

css:

div.atext { font-size: 10px; color:#ffffff; text-indent:15px; } 

here working progress: http://jsfiddle.net/qz3gf/

edited: yes use text-indent again other right text (test 2 > click here) indented dont intend do.

you apply css margin divs containing lines want indented (with larger margin .atext div)


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -