|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
|
|
 |
|
|
|
  10-06-05 - 11:39 PM
|
"Matt" <matt_marshall@manning-napier.com> wrote:
> I would like to set the "list-style-type" to be a hyphen (-).
That's odd, because style guides usually recommend the use of a dash, which
is rather different visually and corresponds to established typographic
tradition. Anyway, you would have the same problem with a dash, or with any
_character_ for that matter.
> How can I accomplish this in a style sheet.
In HTML authoring, the best shot is to use images as list bullets, using an
image that looks sufficiently like the character you want. It's awkward and
inflexible, as you may guess.
> I tried list-style-type: hyphen; and
> list-style-type: dash; but neither worked.
No wonder. You can't just invent CSS constructs as you go.
> I also tried adding this to
> the style sheet (with the list-style-type set to none in the UL
> element).
>
> LI:Before
> {
> content: "- ";
> }
That would be fine, it browsers supported it. Opera does, but otherwise the
situation is poor: browsers usually obey list-style-type: none but ignore
the rule with LI:Before, since they don't support generated content or
associated constructs.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
|
|
|
  10-06-05 - 11:39 PM
|
Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote:
> On Thu, 6 Oct 2005, Jukka K. Korpela wrote:
>
>
> Perhaps he meant the $Subject :
> http://ppewww.ph.gla.ac.uk/~flavell...ta20.html#x2043
Well, he wrote _twice_ (in prose and in CSS) the ASCII hyphen-minus "-",
commonly known as hyphen, and if he had meant the hyphen bullet U+2043, he
would surely have used \u2043 in CSS.
But I just realized that the hyphen bullet is not mentioned among the
dash-like characters in the Unicode standard, even though the hyphen-minus
is. There's no cross reference in the description of the hyphen bullet in
the code chart.
It seems that the hyphen bullet is really meant to be a bullet character
that looks like a hyphen (of a kind), rather than a hyphen used as a
bullet. Yes, splitting hairs - I've spent too much time with character
standards I'm afraid.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
| All times are GMT. The time now is 11:01 AM. |
 |
|
|
|
|
|  |
|