473,406 Members | 2,707 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,406 software developers and data experts.

Why does IE display images slightly larger than other browsers?

This may be nothing to do with CSS in which case I apologise for wasting
your time.

I noticed that images on my website are about 5% larger when viewed in
IE6, compared to Mozilla or Firefox, even if I embed "width = x pixels,
height = y pixels" in the HTML. A friend pointed me at this URL as an
explanation:

http://www.quirksmode.org/css/quirksmode.html

but this seemed to imply that explicitly defining the size in pixels
should work. It also recommends using non strict mode for the site's CSS
file which strikes me as unwise.

Lest this is specific to something silly my own site, here's the URL:

w-w-w-furfur.demon.co.uk/geop <slash> vgap4 - dot - htm

(please excuse the URL mangling but even after 2 levels of filtering, I
still get 200 spams a day, the root cause seems to be that many years
ago I posted my unmangled email / URL addresses on newsgroups and they
were harvested.)

the image I find most frustrating is the one in the top left (saying
"Klingon Kommand"). It's meant to be as wide as the navbar (202 pixels)
but in IE, it expands. I use IE6.

A further puzzlement to me is that it looks OK if I look at it from work
- where I also have IE6. Obviously I want the site to appearance to be
independent of browser or obscure browser settings.

Thank you for your time,
--
Paul Honigmann
May 1 '06 #1
2 1310
To further the education of mankind, Nemo
<Pa**@nospam.nospam.nospam.nospam.co.uk> vouchsafed:
This may be nothing to do with CSS in which case I apologise for wasting
your time.

I noticed that images on my website are about 5% larger when viewed in
IE6, compared to Mozilla or Firefox, even if I embed "width = x pixels,
height = y pixels" in the HTML.
There's a setting in tools>advanced called "enable image resizing" that's
probably checked in your home browser.

A friend pointed me at this URL as an
explanation:

http://www.quirksmode.org/css/quirksmode.html

but this seemed to imply that explicitly defining the size in pixels
should work. It also recommends using non strict mode for the site's CSS
file which strikes me as unwise.


It is unwise.

--
Neredbojias
Infinity has its limits.
May 1 '06 #2
Neredbojias predicted
I noticed that images on my website are about 5% larger when viewed in
IE6, compared to Mozilla or Firefox, even if I embed "width = x pixels,
height = y pixels" in the HTML.


There's a setting in tools>advanced called "enable image resizing" that's
probably checked in your home browser.


Indeed, the wise one spoke truly. Thank you.
--
Paul Honigmann
May 1 '06 #3

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

Similar topics

14
by: eastcoastguyz | last post by:
As I am learning PHP and seeing examples of handling graphics using the imagecreate functions. The few examples I have run across use PNG as the graphic file format of choice. Is there a reason for...
2
by: Keiron Waites | last post by:
Hi, Is there any JavaScript that can force the download of an image or a list of images before the HTML, or any other images are downloaded? This is necessary so I can force the background image...
3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
5
by: Amir | last post by:
When prefetching images, why do I need the "if (document.images)" statement? if (document.images) { pic1on= new Image(300,300); pic1on.src="pic1.gif"; pic2on= new Image();...
3
by: chuck | last post by:
Hi, This is a test for a larger form i am working on. I want to have a real time display of the radio button value when selected. I tried with various event handlers with varying success. The...
4
by: drew197 | last post by:
I am a newbie. I am editing someone elses code to make it compatible with Firefox and Safari. In IE, when you click on the proper link, a block of text is shown in a nice paragraph form. But, in...
3
by: Mark Szlazak | last post by:
The following page simulates a pool cue and cue ball: http://members.aol.com/myscript/cue.html Mouse cursor position around the cue ball determines where a roll-over of 179 pool cue images is...
7
by: Keith Hughitt | last post by:
Hi all, I am having trouble preloading images in a javascript application, and was wondering if anyone had any suggestions. Basically I have a bunch of images stored in a database as BLOBs. At...
2
by: haft | last post by:
My webpage of discussion contains a javascript powered image gallery of small thumbnail images that when moused-over, display a larger image that corresponds to the current moused-over thumbnail....
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
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
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...
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...
0
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...
0
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,...
0
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...

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.