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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -