473,769 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
+ 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 1374
In article <11************ **********@e56g 2000cwe.googleg roups.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
2257
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 working on can be seen at http://www.budbury.co.uk/itel/index.htm In Opera 6.05 the Nav Bar image floats behind the content division that follows the navbar.
115
7239
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 ..." Yet if I use 'x-small' instead of 9pt, I get bigger type on IE6 and smaller type on Mozilla. My choices seem to be:
3
6745
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 application is based on mysql and php on a remote server, and is accessed by the user via a web browser, primarilly IE. The image file names are built up by the server side php scripts, and so a URL for the image file is created, but the file itself is...
5
1689
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 get alot of people trying to re-size their own images and unfortunatley they don't have photo skills and the images never get uploaded because they are usually off a few pixels when trying to upload the headshot. So the headshot's usually don't...
5
10656
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 do this with margins and padding on both the text and the image. Can someone put me out of my misery and tell/show me how to do this. TIA Brian Tozer
3
4980
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 the viewer adjusts the font-size on his browser? I have everything sized in em's, so that the actual <div> "box" resizes along with the text, but the background-image will not resize if the text is "zoomed". I can not find anything pertaining
60
4787
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 = 81.25
16
5797
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 different. If I want a font equal in size to Windows' Tahoma 8pt, I need to set 11 as font size. This has the result that text on my website is too small for Linux systems at the moment. Could you tell me what I need to do in order to get the same...
6
4807
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 when the user changes the font size in the browser. But what of the disadvantages? In (X)HTML, the img-element will have a pixel-value for the width and height-attributes.
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9416
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9981
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9850
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8862
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7396
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5293
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5436
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3551
muto222
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.