PDA

View Full Version : Text wont indent


Forlanman
12-06-2007, 05:04 PM
HI all

I'm working on aligning some text but Im a bit stumped to why this text isn't aligning.

The result I'm trying to achieve is to have a square bullet with the text indented so that the second line does not go under the bullet point I thought this would be possible by placing


<STYLE TYPE="text/css">
<!--
.indented
{
padding-left: 7pt;

}
-->
</STYLE>

in the head section followed by surrounding the text I wish to justify away from the bullet with this style type, as so


<li type="square">
<span class="style7"><div class= indented>Read a Message from our assistant princiapal </div> </span></td>


unfortunatly although dreamweaver is displaying a 7pt justification on the text which is on 2 lines the padding disappears on the second line.

any help would be appreciated.

Cheers

Dave

Forlanman
12-07-2007, 11:45 AM
Though this might help people figure out what I mean:

* Text will go like this
but be aligned with the
rest of the text without going
under the bullet

any idea's?

d a v e
12-07-2007, 12:15 PM
just redefine your lists like

li {
list-style: square outside;
}