HighDots Forums  

Possible to Change List Bullet Color?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Possible to Change List Bullet Color? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Johannes Baagoe
 
Posts: n/a

Default Re: Possible to Change List Bullet Color? - 09-25-2007 , 10:20 PM






dorayme :

Quote:
Or perhaps using an image inside the list item and dimensioning it in
ems.
Generally speaking, dimensioning images in ems, especially menu images
containing text in fancy fonts and the like, makes them "zoom" together
with the text if the user, e.g., presses the Ctrl key while turning the
mouse's wheel.

People with the sight problems common to most people over 40 tend to
appreciate that when it is pointed out, and since many clients at the
managerial level are over 40...

--
Johannes
"Quand on dit c'est un Johannes, cela vaut autant que ce que maintenant
on appelle un pédant" (H. Estienne, in É. Littré, /Dictionnaire de la
langue française/, art. PÉDANT)


Reply With Quote
  #12  
Old   
dorayme
 
Posts: n/a

Default Re: Possible to Change List Bullet Color? - 09-25-2007 , 11:00 PM






In article <O9GdnUdPLO1kUmTbnZ2dnUVZ8rOdnZ2d (AT) giganews (DOT) com>,
Johannes Baagoe <baagoe (AT) baagoe (DOT) org> wrote:

Quote:
dorayme :

Or perhaps using an image inside the list item and dimensioning it in
ems.

Generally speaking, dimensioning images in ems, especially menu images
containing text in fancy fonts and the like, makes them "zoom" together
with the text if the user, e.g., presses the Ctrl key while turning the
mouse's wheel.

People with the sight problems common to most people over 40 tend to
appreciate that when it is pointed out, and since many clients at the
managerial level are over 40...
Let me knock up what I had in mind ... something like:

<http://members.optushome.com.au/droo...llets/imgBulle
ts.html>

or

http://tinyurl.com/2v82ro

which works as I expect in Safari 2 on my Mac. I recall things
playing up a bit with em based images in IE but have no time to
check now...

--
dorayme


Reply With Quote
  #13  
Old   
Johannes Baagoe
 
Posts: n/a

Default Re: Possible to Change List Bullet Color? - 09-26-2007 , 12:14 AM



dorayme :


Quote:
http://tinyurl.com/2v82ro

which works as I expect in Safari 2 on my Mac.
Works for me in Firefox on Ubuntu, too. Pressing Ctrl and turning the
mouse wheel is fun.

Except for one detail: since you have specified the padding px, not em, it
doesn't quite scale right. Why use px? Ever?

Quote:
I recall things playing up a bit with em based images in IE but have no
time to check now...
It worked last time I checked. You only have a few font sizes available, 5
as I remember, and I have been told they don't work at all if you specify a
font-size in pixels, but why would anyone want to do that?

--
Johannes
"Quand on dit c'est un Johannes, cela vaut autant que ce que maintenant
on appelle un pédant" (H. Estienne, in É. Littré, /Dictionnaire de la
langue française/, art. PÉDANT)


Reply With Quote
  #14  
Old   
Johannes Baagoe
 
Posts: n/a

Default Re: Possible to Change List Bullet Color? - 09-26-2007 , 10:33 AM



William Gill :

Quote:
http://members.optushome.com.au/droo...mgBullets.html

Nice! I had thought about dimensioning images in non-intrinsic ways,
but never followed through to see. This might come in handy in other
places where relative sizing is useful, but I wonder if treating a
replaced element this way opens a Pandora's Box?
You could take a look at, e.g., http://esean.fr/004-la-vie-a-esean.xml

That might open a few Pandora's boxes :-)

The main problem I see in this site is that unless your browser groks
XSLT, you won't see a thing (Safari should be all right), and of course,
it may be difficult to understand what is going on from inspecting the
sources, but please notice how the real estate is occupied no matter how
you size the window within reasonable limits, and try to change the size
of the text (in Firefox, just press Ctrl while turning the mouse wheel,
I don't know with Safari), and see how the images follow, both the images
which actually are meaningful content and those which are simply text.
(I hate text images, as a rule, but the client insisted on an unusual font
in the menu and the header.)

In contrast, on http://esean.fr./114-reconstruction.xml the main image is
not dimensioned in ems but in %. It therefore occupies as much space as
possible no matter what text size the user chooses.

--
Johannes
"Quand on dit c'est un Johannes, cela vaut autant que ce que maintenant
on appelle un pédant" (H. Estienne, in É. Littré, /Dictionnaire de la
langue française/, art. PÉDANT)


Reply With Quote
  #15  
Old   
dorayme
 
Posts: n/a

Default Re: Possible to Change List Bullet Color? - 09-26-2007 , 07:08 PM



In article <cNOdnd6MM5U0d2TbnZ2dnUVZ8qTinZ2d (AT) giganews (DOT) com>,
Johannes Baagoe <baagoe (AT) baagoe (DOT) org> wrote:

Quote:
dorayme :


http://tinyurl.com/2v82ro

which works as I expect in Safari 2 on my Mac.

Works for me in Firefox on Ubuntu, too. Pressing Ctrl and turning the
mouse wheel is fun.

Except for one detail: since you have specified the padding px, not em, it
doesn't quite scale right. Why use px? Ever?
Yes, I was in a big rush to get to my avo swim at the beach! em
is the way to go. In fact, it was something that occurred to me
when swimming (I swallowed some water on realization. In Oz here,
it is salty). See how not all Australians think of sharks when in
the sea?

--
dorayme


Reply With Quote
  #16  
Old   
dorayme
 
Posts: n/a

Default Re: Possible to Change List Bullet Color? - 09-26-2007 , 07:16 PM



In article <VJtKi.29608$eY.13056 (AT) newssvr13 (DOT) news.prodigy.net>,
William Gill <noreply (AT) example (DOT) invalid> wrote:

Quote:
dorayme wrote:

Generally speaking, dimensioning images in ems, ...

http://members.optushome.com.au/droo...mgBullets.html
Nice! I had thought about dimensioning images in non-intrinsic ways,
but never followed through to see. This might come in handy in other
places where relative sizing is useful, but I wonder if treating a
replaced element this way opens a Pandora's Box?
Just one thing to note about this general technique, it is
wasteful in that one needs to prepare pics that are bigger than
are mostly needed. For the simple reason that scaling pics down
is always more accurate than up. You will notice the bullet gif
is unlikely to be ever used at its native size or above. Being
bigger is an insurance. If you were tempted to use the technique
for pics generally, there would be a mounting bandwidth overhead.

--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.