473,480 Members | 2,172 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Image/Font sizing UI design question re directories

If I take a look at a site that has a heirarchical directory structure
(e.g. http://www.treemenu.org/), then on the left there are always(?)
some small images on the left, corresponding to '+', '-', '|-', and
'|_'. By abutting these, you get a "pretty" "tree" representation.
However, if the user alters their font size (especially to a larger
size) from what the site designer figured, then these images will no
longer lie flush/close to each other.

Is there a UI standard on this? How should a site designer take this
into account (ie. abutting images when the corresponding text size is
changed)?
(1) Just have the images. Let the viewer deal with it.
(2) Use characters in place of the images. In that case what are the
appropriate character codes? I've searched at
http://www.macchiato.com/unicode/chart/ but not seen anything really
appealing.
(3) Some other approach.

Thanks,
Csaba Gabor from Vienna

PS. I mentioned the site above only to give an idea (visually)

Mar 29 '06 #1
2 1364
In article <11**********************@e56g2000cwe.googlegroups .com>,
Csaba Gabor <da*****@gmail.com> wrote:
If I take a look at a site that has a heirarchical directory structure
(e.g. http://www.treemenu.org/), then on the left there are always(?)
some small images on the left, corresponding to '+', '-', '|-', and
'|_'. By abutting these, you get a "pretty" "tree" representation.
However, if the user alters their font size (especially to a larger
size) from what the site designer figured, then these images will no
longer lie flush/close to each other.
When I make the text large as possible in IE, that site is stil
quite readable. So the images have little gaps. It's still clear
what the images are for.

It's not something I would ever implement though. It's awfully SLOW
to update when you click on something.

Interstingly, the author's "tree" isn't done by modifying the <ul> tag
attributes. It appears to be a simple re-styling of the <a> tag.
Is there a UI standard on this? How should a site designer take this
into account (ie. abutting images when the corresponding text size is
changed)?
(1) Just have the images. Let the viewer deal with it.
(2) Use characters in place of the images. In that case what are the
appropriate character codes? I've searched at
http://www.macchiato.com/unicode/chart/ but not seen anything really
appealing.


I vote for that. I suppose you could use characters in a
fixed-width font to do the same thing, say by restyling the <tt>
tag to the font of your choice. It would be a lot faster, and the
characters will scale with the rest of the page.

See the UTF-8 character set, starting at code 2500 (hexadecimal) to
257f. You'll see a whole bunch of characters designed for drawing
lines, corners, intersections, boxes, etc. I'd use those if I would
implement that kind of tree approach.
UTF-8 table: http://s01060050bfb53867.cg.shawcable.net/utf-8.php

-A
Mar 30 '06 #2
Csaba Gabor wrote:
If I take a look at a site that has a heirarchical directory structure
(e.g. http://www.treemenu.org/), then on the left there are always(?)
some small images on the left, corresponding to '+', '-', '|-', and
'|_'. By abutting these, you get a "pretty" "tree" representation.
However, if the user alters their font size (especially to a larger
size) from what the site designer figured, then these images will no
longer lie flush/close to each other.


Try extending the vertical line in the image, both top and bottom. If
it's only a background image, centering it vertically
(background-position: left center;) will clip the top and bottom ends
off as needed. If it's not a background image, the clip property might
do the job.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Mar 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2240
by: Robert Lapes | last post by:
I'm just getting into using CSS and I'm having a problem getting Opera to display a Navigation Bar in the same way as IE6. Can someone please point me in the right direction? The site I'm...
115
7105
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." ...
3
6656
by: coolsti | last post by:
I need some help here. I am making an application which allows a user to look at a series of picture files one at a time, and enter the outcome of various visual tests to a database. The...
5
1666
by: BWIN | last post by:
I am the owner of a very large scale member-base website and the members are having trouble re-sizing there pics to create headshots. The headshots are supposed to be 175 x 175 pixels exactly. We...
5
10629
by: KiwiBrian | last post by:
I wish to place an image of a word of text in the middle of a sentence, but need to adjust the vertical position of the image so that it looks inline with the text. I have tried unsuccesfully to...
3
4961
by: Greg Heilers | last post by:
Hello everyone... If one has a <div> that is completely filled with a background-image; how does one style it so that the image *continues* to fill the <div> top-to-bottom, left-to-right; if...
60
4699
by: deko | last post by:
As I understand it, most browser manufacturers have agreed on 16px for their default font size. So, this should be an accurate conversion for percentages: px % 16 = 100 14 = 87.5 13 =...
16
5754
by: Frank Steinmetzger | last post by:
Hello Group On my website I used to have Tahoma 8pt defined in my CSS styles. That gives me the "normal" font Windows uses everywhere in its dialogues. However, on Linux things seem to be...
6
4792
by: Stephan Bourdon | last post by:
Hi, Your opinion please on the following subject: Is it acceptable to set the width and height of an image in ems or percents in CSS? The advantage for me is that images will scale up or down...
0
6912
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7052
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7092
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3000
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.