Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Controlling when text wraps to the next line

0 views
Skip to first unread message

Nathan Sokalski

unread,
Jul 24, 2001, 1:10:53 AM7/24/01
to
How do I control when text wraps to the next line? I want the first line to
always have a larger width than the lower lines. Is there a property (I am
assuming it would be CSS) that allows you to determine when the text wraps?
--
Nathan Sokalski
njsok...@hotmail.com


Xlnt

unread,
Jul 24, 2001, 5:34:36 AM7/24/01
to
"Nathan Sokalski" <njsok...@hotmail.com> schreef in bericht
news:ueI1F8$EBHA.1372@tkmsftngp04...

> How do I control when text wraps to the next line? I want the first line
to
> always have a larger width than the lower lines. Is there a property (I am
> assuming it would be CSS) that allows you to determine when the text
wraps?
>
Only the paragraph tag has a method for it. Use:
<style>
p:first-line {
[your other code]
}
</style>

Xlnt


Nathan Sokalski

unread,
Jul 24, 2001, 11:13:39 PM7/24/01
to
That doesn't answer my question. I want to know how to make the first line
always be wider than the other lines, in other words, not wrap if it causes
the first line to be shorter than any of the others. You just told me how to
set properties which will apply to only the first line.
--
Nathan Sokalski
njsok...@hotmail.com

"Xlnt" <xl...@runbox.com> wrote in message
news:Mib77.125902$y7.13...@dbsch1.home.nl...

0 new messages