-Kevin
----- Original Message -----
From: "William H Bowen" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Wednesday, January 28, 2004 7:24 PM
Subject: Re: CSS selector problem
> hrmmm...
>
> ul is defined in the style tag as having certain base properties thus
> every ul using that style will be formatted this way, li within ul can
> have own class and inherit base attributes.
>
> Kid tested...mother approved:
>
> <deletia/>
> <style type="text/css">
> ul {
> font-size:12px;
> font-weight:bold;
> line-height:50px;
> color: blue;
> }
> ul li.video {
> color: pink;
> list-style-type: disc;
> }
> ul li.book {
> color:red;
> font-weight:normal;
> list-style-type: square;
> }
> </style>
> </head>
>
> <body>
>
> Below is a list:
>
> <ul>
> <li class="video">class=Video</li>
> <li class="book">class=Book</li>
> <li>No class</li>
> </ul>
> <deletia/>
>
> Does this do what you wanted?
>
> HTH
> will
>
>
> Kevin Graeme wrote:
>
> > I was trying to avoid assigning a class to the UL.
> >
> > -Kevin
> >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
