473,799 Members | 2,936 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Internet Explorer renders wrong only the first time

Hi,

(Apologies in advance for any cross-posting.)

This is my first post to this group. I hope you can help me. I've got a
page (of my own design) with a table that renders fine in Firefox and
Opera, but in Internet Explorer, the column widths go wonky -
sometimes!

Here's a more complete description. The table on my page (
http://www.smoothcoding.com/debug/bubble.html ) is basically a "bubble
chart." All the cells containing bubbles should be square. (FWIW, they
are square in Firefox.) If I go to this page in Internet Explorer, the
cells containing bubbles are about 3 times their expected width.
HOWEVER, if I force the page to redraw by zooming in and out or by
going back/forward in the history and returning to that page, the cells
become square as expected. To make things even more confusing, if I
save the page (and its associated files) to my computer and open that
local copy in IE, this problem doesn't happen. Also, the widths of the
columns to the left of the bubbles (2nd and 3rd columns) are not
consistent every time I refresh the page.

I'm setting the bubble cell widths both in the CSS stylesheet and the
cells' html attributes, just to be sure. I'm using IE 6 on Windows XP,
with all updates installed. For the life of me, I can't figure out
what's going on. Does anyone have any ideas?

Thanks,
Sarah

Jul 20 '06 #1
7 1866
fr***********@g mail.com wrote:
>
Here's a more complete description. The table on my page (
http://www.smoothcoding.com/debug/bubble.html ) is basically a "bubble
chart." All the cells containing bubbles should be square. (FWIW, they
are square in Firefox.) If I go to this page in Internet Explorer, the
cells containing bubbles are about 3 times their expected width.
HOWEVER, if I force the page to redraw by zooming in and out or by
going back/forward in the history and returning to that page, the cells
become square as expected. [...]
Try adding
body { font-size: 100%; }

Adding both a foreground and background color is a good idea as well.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 20 '06 #2
Jim Moe wrote:
fr***********@g mail.com wrote:

Here's a more complete description. The table on my page (
http://www.smoothcoding.com/debug/bubble.html ) is basically a "bubble
chart." All the cells containing bubbles should be square. (FWIW, they
are square in Firefox.) If I go to this page in Internet Explorer, the
cells containing bubbles are about 3 times their expected width.
HOWEVER, if I force the page to redraw by zooming in and out or by
going back/forward in the history and returning to that page, the cells
become square as expected. [...]
Try adding
body { font-size: 100%; }

Adding both a foreground and background color is a good idea as well.
Jim,

Thanks for your reply. Unfortunately, that doesn't seem to fix it. Any
other thoughts? I also tried adding body { width: 100%; }.

The page has been updated to include the things you suggested.

Sarah

Jul 20 '06 #3
fr***********@g mail.com wrote:
>
Here's a more complete description. The table on my page (
http://www.smoothcoding.com/debug/bubble.html ) is basically a "bubble
chart." [...]

Thanks for your reply. Unfortunately, that doesn't seem to fix it. Any
other thoughts? I also tried adding body { width: 100%; }.
It is the use in CSS of width and height to adjust the size of the
image. While it should work, and does in non-IE browsers, IE gets lost
doing all that business of scaling images and adjusting the size of table
cells. It's such hard and complicated work!
You will have more stable results using the width and height attributes
of <imgdirectly rather than scaling it with CSS.
Vertical bars of different heights would be easier to manipulate than
circles, and display better. The width is always the same, easy to center.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 21 '06 #4
Jim Moe wrote:
It is the use in CSS of width and height to adjust the size of the
image. While it should work, and does in non-IE browsers, IE gets lost
doing all that business of scaling images and adjusting the size of table
cells. It's such hard and complicated work!
You will have more stable results using the width and height attributes
of <imgdirectly rather than scaling it with CSS.
Vertical bars of different heights would be easier to manipulate than
circles, and display better. The width is always the same, easy to center.
The chart is supposed to use circles. Maybe some other time I will make
a different type of chart. Thanks for your help. I believe I've found
the solution and will post it in a few days.

Jul 21 '06 #5
Jim Moe wrote:
It is the use in CSS of width and height to adjust the size of the
image. While it should work, and does in non-IE browsers, IE gets lost
doing all that business of scaling images and adjusting the size of table
cells. It's such hard and complicated work!
You will have more stable results using the width and height attributes
of <imgdirectly rather than scaling it with CSS.
Vertical bars of different heights would be easier to manipulate than
circles, and display better. The width is always the same, easy to center.
The chart is supposed to use circles. Maybe some other time I will make
a different type of chart. Thanks for your help. I believe I've found
the solution and will post it in a few days.

Jul 21 '06 #6
Jim Moe wrote:
It is the use in CSS of width and height to adjust the size of the
image. While it should work, and does in non-IE browsers, IE gets lost
doing all that business of scaling images and adjusting the size of table
cells. It's such hard and complicated work!
You will have more stable results using the width and height attributes
of <imgdirectly rather than scaling it with CSS.
Vertical bars of different heights would be easier to manipulate than
circles, and display better. The width is always the same, easy to center.
The chart is supposed to use circles. Maybe some other time I will make
a different type of chart. Thanks for your help. I believe I've found
the solution and will post it in a few days.

Jul 21 '06 #7
Wow, sorry for the multiple postings. Anyway, it turned out that I
needed to set the image sizes using px instead of %s. I did this using
inline CSS (the style attribute), and it worked. Also, to be sure it
rendered right in Opera, I had to set the doctype to xhtml 1.0 strict
instead of html 4.01 transitional.

Jul 25 '06 #8

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

Similar topics

6
16620
by: Veerle | last post by:
Hi, Somewhere in my html page, I have the following code: <div id="main-body"> <h2>Header text</h2> <p>Some other text ...</p> ..... <h2>Another header text</h2> <p>Some more other text ...</p>
3
2355
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review interpretation): "Half stolen from Firefox, half is buggy - including the stolen part". Download: <http://www.download.com/Internet-Explorer-7/3000-2356_4-10497433.html?tag=nl.e415>
5
7859
by: garyusenet | last post by:
I have been trying for some time now to launch Internet Explorer from my code. I have read the MSDN notes on this way of starting processes and used their example but couldn't get it to work. I then searched the forums and made ammendments suggested to previous posters but it still isn't working. Here is my StartInternetExplorer() method. Could you please look and see what I am doing wrong? Thankyou. Gary.
16
3792
by: danep | last post by:
Hi all, On my site I have a section of code that resembles the following: <p id="gear" style="display: none;"> <p>test</p> </p> This renders fine in Firefox (that is, nothing is displayed). However, in Internet Explorer, "test" is still printed. It appears
0
9686
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
10475
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10222
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
10026
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...
1
7564
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
5463
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...
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.