FreewayTalk

2 replies to this thread. Most Recent

waltd

28 Feb 2008, 1:46 pm

Lists

List-style is a property of the LI, not the UL (or OL or DL). You can have some LIs with bullets, others without, for whatever reason you might have for that.

ul.simpletranslator li {list-style:none; }
ul.simpletranslator li.bullet {list-style:disc; }

<ul class="simpletranslator">
    <li>Thing one<li>
    <li>Thing two<li>
    <li class="bullet">Thing Blue<li>
<ul>

Granted, Freeway does not let you get in there and modify the class of individual list items, so this information is probably of limited value to you. But that’s the reason why adding it to the list has no bearing on the display of the children of that list.

Walter

On Feb 28, 2008, at 9:30 AM, Todd wrote:

Atelier’s recent post about list styles has again reminded me of something that FW does which when hand-coding is not necessary and I don’t understand why this happens.

In the Atelier example I placed “list-style: none” like this (hand- coded):

ul.simpletranslator { font-family: Helvetica; list-style:none; }

But when I created the same example in FW “list-style: none” is not recognized unless it’s placed in this style instead:

ul.simpletranslator li

Granted it’s not a lot of work to create but I would like to know why it’s necessary. I’ve been doing it this way forever in FW; have I been doing something wrong all this time?

Todd

quote

Freeway user since 1997

http://www.walterdavisstudio.com

waltd

28 Feb 2008, 1:57 pm

List-style is a property of the LI, not the UL (or OL or DL). You can have some LIs with bullets, others without, for whatever reason you might have for that.

ul.simpletranslator li {list-style:none; }
ul.simpletranslator li.bullet {list-style:disc; }

<ul class="simpletranslator">
    <li>Thing one<li>
    <li>Thing two<li>
    <li class="bullet">Thing Blue<li>
<ul>

Granted, Freeway does not let you get in there and modify the class of individual list items, so this information is probably of limited value to you. But that’s the reason why adding it to the list has no bearing on the display of the children of that list.

Walter

On Feb 28, 2008, at 9:30 AM, Todd wrote:

Atelier’s recent post about list styles has again reminded me of something that FW does which when hand-coding is not necessary and I don’t understand why this happens.

In the Atelier example I placed “list-style: none” like this (hand- coded):

ul.simpletranslator { font-family: Helvetica; list-style:none; }

But when I created the same example in FW “list-style: none” is not recognized unless it’s placed in this style instead:

ul.simpletranslator li

Granted it’s not a lot of work to create but I would like to know why it’s necessary. I’ve been doing it this way forever in FW; have I been doing something wrong all this time?

Todd

quote

Freeway user since 1997

http://www.walterdavisstudio.com

Back to Top

Todd

28 Feb 2008, 2:16 pm

Ah, I see. Thank you Walter.

Todd

On Feb 28, 2008, at 8:57 AM, Walter Lee Davis wrote:

Granted, Freeway does not let you get in there and modify the class of individual list items, so this information is probably of limited value to you. But that’s the reason why adding it to the list has no bearing on the display of the children of that list.

quote

FreeCounter