Ooo. I like that. Unfortunately, it's wrapping the line for me. And if I do
white-space: nowrap, it extends past the window size.

But it's worth playing with. And it's logically a correct representation of
the information. It's just a list of the letters presented horizontally.
Nice.

-Kevin

----- Original Message -----
From: "jon hall" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 11:41 AM
Subject: Re: css question

> Perhaps a list would be best in this case. Setting the margins on the
> li's to percentages should do the trick. I think 100/52 might give
> you the right percentage values if you set both left and right
> margins.
>
> ul {
>         list-style-type: none;
>         margin: 0;
>         padding: 0;
>         width: 100%;
> }
>
> li {
>         display: inline;
>         list-style-type: none;
>         margin-left: 5%;
>         margin-right: 5%;
>         padding: 0;
> }
>
> <ul>
>   <li>A</li>
>   <li>B</li>
>   <li>C</li>
>   <li>D</li>
> </ul>
>
> --
>  jon
>  mailto:[EMAIL PROTECTED]
>
> Thursday, October 30, 2003, 12:17:19 PM, you wrote:
>
> RC> Oh, this isn't for normal text, it's a header with letters A-Z that
> RC> point to links below, an index.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to