Previous Message
Next Message

Re: [css-d] indent & text wrap

Sent by Steve on 25 September 2002 03:03


On Wed, Sep 25, 2002 at 10:08:09AM +1000, Peter Williams wrote:
> > -----Original Message-----
> > From: Steve
> > 
> > Since I don't have the page/site online yet, I'll enclose the
> > appropriate style sheet.
> > 
> > /*
> > BODY {
> > font-family : Verdana, Arial, sans-serif;
> > font-style : normal;
> > color : #0000CD;
> > text-indent : 5%;
> > text-align : left;
> > line-height : 25%;
> > font-size :.8em;
> > margin-right: 5px;
> > }
> > 
> 
> Goodness me :-)
> 
> Your line-height: 25% was a doozy, all text overlapping.
> The line height is relative to the text x-height so 25%
> of your 0.8em text setting means a yucky mess.
> 
> Indent works as intended, it indents the first line of
> a paragraph, and seems to also work on text that is just
> loose in the body without any markup in this case.
> 
> Replacing indent with margin-left gives the sort of effect
> you seem to be after.
> 
> body {
>  font-family : Verdana, Arial, sans-serif;
>  font-style : normal;
>  color : #0000CD;
>  margin-left : 5%;
>  text-align : left;
>  font-size :.8em;
>  margin-right: 5px;
>  }

Actually It doesn't look /that/ bad if one is using a hard return. I
knew that wasn't the way to do it, therefore I was compensating.

Thanks for the help. I've seen the error of my ways.

-- 
Stephen	 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Previous Message
Next Message

Message thread: