Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Span command

Status
Not open for further replies.

cxs00u

Programmer
Mar 14, 2003
9
GB
Hi ,

I am currently using the tag <span class = &quot;indent&quot;>

where indent is :

.indent
{
text-align: left;
margin-left: 32px;

}

in my CSS . The problem is that if the text scrolls onto the next line then it is not effected by the indent command e.g :

This is where the line should start blah blah blah blah blah blah blah blah blah blah blah blah

has anyone got any ideas on how I can fix this ???

Thank you in advance

Craig
 
>> has anyone got any ideas on how I can fix this ???

yeah, i already gave it to you before, i will give it again. The SPAN element only renders &quot;block&quot; characteristics when &quot;height and width&quot; attributes are attached to it.

Code:
.indent
{    
    text-align: left;
    margin-left: 32px;
    width: 100%;
    height: 100%;
}


-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top