This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > February 2006 > indenting with CSS?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
indenting with CSS?
|
|
| Brian 2006-02-24, 10:15 pm |
| I tried the following, but it only indents the first line. Why is that,
and how can I indent the whole block to text.
#indented {
line-height: 16px;
margin-left : 20px;
}
Thanks for any help!
| |
| Osgood 2006-02-24, 10:16 pm |
| Brian wrote:
> I tried the following, but it only indents the first line. Why is that,
> and how can I indent the whole block to text.
>
> #indented {
> line-height: 16px;
> margin-left : 20px;
>
> }
>
> Thanks for any help!
<div id="indented">
<p>Some text some text sometext</p>
</div>
<td id="indented">
<p>Some text some text sometext</p>
</td>
#indented p {
line-height: 16px;
margin-left: 20px;
}
| |
| Brian 2006-02-24, 10:16 pm |
| Thank you, Osgood!
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|