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

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -