IE7 fails to resize select boxes properly – or something

I’m trying to add a select box with a list of brigades to the HC Movements tool. All fairly basic stuff, I’m just adding new elements to the <select/> tag and it works fine, ‘cept for one small problem. IE7 fails to propagate the resize of the select box upwards until you alt-tab and back or resize the browser window.

bna.jpg

My google-foo fails me on finding a solution for this.

Grr.

23 Comments

Bleah. I set it to style.visibility = ‘hidden’ before changing it and then back to ‘visible’ when I’m done. Yucky yuck yuck.

A web developer someday you will be.

I can think of at least one other solution to your problem. :)

PS yeah, I know, but you knew I was going to say that anyway.

“The page you have requested requires Firefox/Safari to function properly.”

I’d like to see that f-ing message on a website one day. :)

FYI, HC Movements works like you want it to in Safari.

For those who haven’t heard, there’s a Windows version of Safari available now. There’s a neat video you can watch before trying. http://www.apple.com/safari/

You’re adding s after the page was first rendered? I think the proper way is to already have all the possible , just hidden until needed.

Replace the blank spots in my comment with “selects”.

X15: Yeah, that was one way of doing it – to generate canned select objects for each country selection – but that’s just messy. I prefer doing it with DOM because there used to be less messy complications – my research indicates the artefact is probably a feature of some non-standard bells and whistles added to IE7 to support floating SELECT boxes. BLEAH.

Zheriz I can’t watch the video without installing the virus known as quicktime.

IE seems to let me read the ‘pittance’ and the forums, so what would it offer me that I don’t get with IE?

easting,
the same video is available here:

Firefox and Safari are better in many ways than IE7, for both users and developers. There are plenty of reviews on the web and videos on YouTube.

Let us know if you jump the IE ship. :)

It really erks me when I see websites that force (or claim) that said website can only be used in a particular browser. The idea that a particular site design can only be accomplished with one browser is rubbish. It is a sign of laziness and unprofessionalism on the part of the web developer.

It is not impossible to create a website that fits both IE7 and FireFox. If your profession is web development, then you should be acquainted with the differences enough to compensate both browsers and only add a few hours to your workload. The same applies for JavaScript. If you know both browsers quirks (and yes both do have quirks, no browser is perfect) then creating a JavaScript app. that works in both browsers should be trivial and a requirement.

It also erks me that people bash IE7 so much. Having worked with both IE6 and IE7, IE7 is an huge imporvement over 6. Objectivly, IE7 and Firefox are so close in standards compliance that neither one has any gains over the other. Both browsers have their quirks and both have their flaws. From a developers standpoint, you just have to build for both.

// My offical title is Web Programmer. I’ve been doing this for 3 years in industry and 5 more years after as a hobby / part time work.

KFS were you able to fix it? It seems to be working. Was it through your style hidden change?

gnpatton, you mean like the HC toolset that CRS gave us? ;)

I have no idea what the HC toolset looks like. Does it require a certain browser?

If so, I’m sure they had their reasons, but its still bad web design.

IE7 is actually considerably better at standards complience than Firefox, particularly when it comes to really complex XHTML.

One thing IE doesn’t do well though is manipulating select objects in the DOM. Although IE7 is better at it than IE6 there are still issues – at least IE7 will allow you to do Z-elements over a select item now.

BTW – even though I’m generally pro-MS when it comes to dev-related stuff – the most compliant browser is actually Safari, much as I hate macs.

If Safari now is available for both platforms, any reason why I should switch from Firefox?

Lutorm,

Safari & Firefox are similar, both open source and pushing for standards compliance. Safari is designed to be light and fast, with few frills. It does have some very original and useful features. My favorites are the privacy/reset modes, the highlighted in-page search and text box stretching. Firefox is similar but it’s main advantage is that it has an add-ons system so you can add all sorts of extra utilities to it. So it’s a matter of taste between fast & simple, or add-ons.

Cowboy,
You can’t hate Macs per-se anymore, since today they are nothing more than Intel PCs that happen to be made by Apple. All the hardware is standard PC OEM stuff. You can buy a Mac and install Windows on it and you’d never know the difference…except for the styling. So you must mean you hate OSX or Apple. :)

Safari is not open source, only Webkit the engine. And by original features you mean borrowed from the Linux browsers it’s based on.

It’s a blog comment, not a tech manual. True, the core of Safari is open-source (WebKit, Apple), the rest is an Apple proprietary UI. Not something a consumer cares about.

I haven’t used Konqueror, but if you’d like to list the features that Safari borrowed, I’d be interested to hear. But you know you’d be wasting your breath. There is always some measure of “borrowing” (ie. evolution) in software. If it didn’t happen, the industry would be stuck in the 80s.

Or your just a bitter Linux user. =p j/k

Cowboy: “IE7 is actually considerably better at standards complience than Firefox, particularly when it comes to really complex XHTML.”

That has not been my experience. IE7 covers a lot of standards but when you look at their spec sheet they actually implement minimal subsets of the standard. For instance, IE7 doesn’t support the ‘outline’ CSS/style attribute

“Or you’re just a bitter Linux user”

Au contraire, just applying the same microscope I temper my tolerance of Microsoft with.

Thanks for the visibility idea. Yucky, yes, but it works!

Leave a Reply

Name and email address are required. Your email address will not be published.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

You may use these HTML tags and attributes:

<a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <pre> <q cite=""> <s> <strike> <strong> 

%d bloggers like this: