473,388 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

IE 6 zoom property and SELECT elements

Hi! I'm doubtful there's a workaround for this problem, but it's
worth a shot. I'm using IE's (css) "zoom" property to zoom the body
of a document (in conjunction with persistance so the previously
selected percentage level is restored each time the page is reloaded).
I don't expect zoomed images to look perfect, but overall the quality
of the zooming is pretty good (as good as Opera's ;-) EXCEPT for any
<select> elements, which are messed up.

Zooming a dropdown select element to less than 100% doesn't harm it
much, but at just over 100% the height of the dropdown list "shrinks"
to make the items inside unreadable. In fact, apart from this, IE
seems not to do anything with select elements in a "zoomed" body - the
height and width of the select element doesn't change, nor does the
size of the text of options inside it. I attempted a script to "fix"
any <select> elements in the page by:

-- explicitly zooming the select element itself: this does make the
height and width of the element change but nothing else
-- looping through all options inside the <select> to set the zoom:
still not usable. Although this doesn't affect the size of the text
for individual options, the options at least become readable, even
though the list height is still too small (you can scroll them).

It doesn't matter if the select is a dropdown (size=1) or a listbox -
IE doesn't zoom them with the rest of the page. As far as using style
properties on the individual option elements, there seems to be a
limited number of properties that actually work: font color,
background color, italic.

Has anyone here ever found a workaround that would make a <select>
element readable for zoom percentages over 100%? Is this a
"documented" limitation of using the zoom property? Does anyone know
what is "special" about select boxes that would account for this
limitation? (I remember that with visual basic controls, comboboxes
and listboxes are technically separate "window" having they're own
handle)

I'm not keen on having to choose between including a "page zoom" and
using <select> elements. I've tried pop-ups for lists, and I can zoom
these, but this is more work than it's worth in many instances.

Any kind of information is appreciated, as I could not find mention of
this anywhere searching Google Groups.

--- Francis
Jul 20 '05 #1
0 4040

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

Similar topics

4
by: stef | last post by:
Hello: I am trying to design a web page whose graphics content would change according to the "text Zoom" settings of the user. (Basically the goal is to use mathematical symbols that...
10
by: Deano | last post by:
I think that just about sums it up. Is there a fix/workaround for this?It's quite annoying behaviour and not user-friendly.thanksMartin
3
by: Just Me | last post by:
Using a Richtextbox I use EM_SETZOOM to set a zoom factor. If I set it to 2 the image on the screen increase but not exactly by 2. I've coded a ruler above the Richtextbox which does scale by...
2
by: Mo Ade via .NET 247 | last post by:
How do I write code to include a zoom feature in my project so that when my Vb Form loads an image I can click in my main menu zoom in or zoom out? -------------------------------- From: Mo Ade ...
1
by: Ricardo Furtado | last post by:
I've been with a problem for about two months and i've bought books and search the internet for an explanation, and haven't found one. I'm developing a cephalometric software, that needs to capture...
3
by: Keith G Hicks | last post by:
In MS Access image controls there's a property setting for "Size Mode" --> Clip, Zoom or Stretch. I don't see any similar property in an asp image control. When I have an image on a page, it seems...
4
by: Yoshitha | last post by:
I'm developing windows application using c#.net (vs 2003), i've placed several images (picture boxes) in panel control and i want to zoom the panel control so that the images and text which...
0
by: gplana | last post by:
Hi all. I'm trying to create an application with a RichTextBox control in order to let user introduce a formatted text, and then I generate a word2007 .docx document with that text. I added the...
0
by: Blacky | last post by:
hi, I have a form where in i dropped a crystal report viewer.I created a report sample.rpt and this is the code which binds my report to the viewer. If (Session("rep") Is Nothing) Then ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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
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...

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.