473,396 Members | 1,916 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,396 software developers and data experts.

Why are we experiencing a table sizing issue with set pixel widths?

http://tinyurl.com/5z4yo4

When viewing this page in Internet Explorer for the first time the
outer most table is much wider than it should be and then slowly
resizes to the correct size as images are loaded. It's impossible for
us to set the dimensions of the product images as they are unknown to
the e-commerce software which generates these pages. The pages display
in Firefox perfectly.

What can we do to correct this?
Jun 27 '08 #1
6 1552
In article
<c3**********************************@a70g2000hsh. googlegroups.com>,
ITistic <sh***@itistic.comwrote:
http://tinyurl.com/5z4yo4

When viewing this page in Internet Explorer for the first time the
outer most table is much wider than it should be and then slowly
resizes to the correct size as images are loaded. It's impossible for
us to set the dimensions of the product images as they are unknown to
the e-commerce software which generates these pages. The pages display
in Firefox perfectly.

What can we do to correct this?
First thing to do is to correct the "Failed validation, 153 Errors" at
http://validator.w3.org/

--
dorayme
Jun 27 '08 #2
On 05/21/08 12:48 pm, ITistic wrote:
http://tinyurl.com/5z4yo4

When viewing this page in Internet Explorer for the first time the
outer most table is much wider than it should be and then slowly
resizes to the correct size as images are loaded. It's impossible for
us to set the dimensions of the product images as they are unknown to
the e-commerce software which generates these pages. The pages display
in Firefox perfectly.

What can we do to correct this?
Provide the width of the images. How do you get the images?
Do you have some sort of server-side application that generates the
(godawful) HTML code? If so, use that application's services to query the
image size.

The site has worse problems than twitchy tables. The layout is extremely
fragile. Even slightly increasing the text size causes rapid degradation
of the display.
The text size is set to 11px, 68% of my preferred size (16px). I have a
minimum font size of 13px (which I find barely readable) and the first
impression of your site was "Yuck!" because the layout fell apart.
Then there are all of the validation errors.... For instance, mixing
HTML and XHTML syntax is inexcusably sloppy.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 27 '08 #3
On May 22, 1:12 am, Jim Moe <jmm-list.AXSPA...@sohnen-moe.comwrote:
On 05/21/08 12:48 pm, ITistic wrote:
http://tinyurl.com/5z4yo4
When viewing this page in Internet Explorer for the first time the
outer most table is much wider than it should be and then slowly
resizes to the correct size as images are loaded. It's impossible for
us to set the dimensions of the product images as they are unknown to
the e-commerce software which generates these pages. The pages display
in Firefox perfectly.
What can we do to correct this?

Provide the width of the images. How do you get the images?
Do you have some sort of server-side application that generates the
(godawful) HTML code? If so, use that application's services to query the
image size.

The site has worse problems than twitchy tables. The layout is extremely
fragile. Even slightly increasing the text size causes rapid degradation
of the display.
The text size is set to 11px, 68% of my preferred size (16px). I have a
minimum font size of 13px (which I find barely readable) and the first
impression of your site was "Yuck!" because the layout fell apart.
Then there are all of the validation errors.... For instance, mixing
HTML and XHTML syntax is inexcusably sloppy.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
The images are uploaded through a piece of software which does not
store the image dimensions. I'd rather not have to programatically
open each image to determine it's dimensions before serving as that
would put a heavy load on the server. I just thought it'd be possible
to somehow tell IE not to render them so big initially before they
were downloaded. You'd think it's render them smaller before it knew,
not bigger. Firefox does exactly that.
Jun 27 '08 #4
On 05/22/08 09:01 am, ITistic wrote:
>>
Provide the width of the images. How do you get the images?
Do you have some sort of server-side application that generates the
(godawful) HTML code? If so, use that application's services to query the
image size.
The images are uploaded through a piece of software which does not
store the image dimensions. I'd rather not have to programatically
open each image to determine it's dimensions before serving as that
would put a heavy load on the server. I just thought it'd be possible
to somehow tell IE not to render them so big initially before they
were downloaded. You'd think it's render them smaller before it knew,
not bigger. Firefox does exactly that.
You'll have to ask MS about IE's odd behavior. Since MS made no changes
to the HTML or CSS aspects of IE6 for 5 years, your only hope is that it
is not a problem in IE7. Or IE8.
Or query the image file for its width and add it to the <imgelement's
attributes. Have you run any benchmarks to determine what the server load
might be? Or you could cache the image sizes for lookup later.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 27 '08 #5
On May 21, 2:48 pm, ITistic <sh...@itistic.comwrote:
http://tinyurl.com/5z4yo4

When viewing this page in Internet Explorer for the first time the
outer most table is much wider than it should be and then slowly
resizes to the correct size as images are loaded. It's impossible for
us to set the dimensions of the product images as they are unknown to
the e-commerce software which generates these pages. The pages display
in Firefox perfectly.

What can we do to correct this?
Along with the validation errors, the page is built with a bad mix of
nested tables for layout with a little bit of convoluted CSS thrown
in. Table widths and table cell widths (td's) are defined both inline
in the HTML and in the CSS. This should really be cleaned up.

Since it appears the table resizing only happens in IE, I'd guess it
has to do with how IE handles the CSS box model or that IE doesn't
regard max-width in CSS without some workarounds.
Jun 27 '08 #6
On May 21, 2:48 pm, ITistic <sh...@itistic.comwrote:
http://tinyurl.com/5z4yo4

When viewing this page in Internet Explorer for the first time the
outer most table is much wider than it should be and then slowly
resizes to the correct size as images are loaded. It's impossible for
us to set the dimensions of the product images as they are unknown to
the e-commerce software which generates these pages. The pages display
in Firefox perfectly.

What can we do to correct this?
Along with the validation errors, the page is built with a bad mix of
nested tables for layout with a little bit of convoluted CSS thrown
in. Table widths and table cell widths (td's) are defined both inline
in the HTML and in the CSS. This should really be cleaned up.

Since it appears the table resizing only happens in IE, I'd guess it
has to do with how IE handles the CSS box model or that IE doesn't
regard max-width in CSS without some workarounds.
Jun 27 '08 #7

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

Similar topics

5
by: Olav Tollefsen | last post by:
Take a look at this page: http://www.webinnovation.no/test/test.htm Why is the left table with the text "Menu" not 160 pixels as stated in the HTML code? Olav
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
19
by: CMAR | last post by:
I have the following markup. The problem is that the browser, e.g., IE6, inserts several lines of blank space between the <div> and the following table. Is there a way to minimize that vertical...
0
by: TJ Talluto | last post by:
<facts> I have a "month calendar" that always displays exactly 42 days... and alongside is a vertical box that displays the detail (form fields) of any particular select event that appears on the...
4
by: N. Demos | last post by:
The following code renders as intended in IE (A TABLE, with cells of fixed width and height, inside of a DIV with fixed width and height and overflow set to hidden.) In Firefox, the table cells...
3
by: N. Demos | last post by:
I have a single row table with fixed dimensioned cells nested inside a fixed dimensioned div, which has overflow: hidden. The div's dimensions are such that It should only display the first two...
1
by: Veerle | last post by:
Hi, I have 2 div blocks with each div taking up half of the page width. So in the CSS they both have width: 50%. See http://home.scarlet.be/~vv991306/leftright.html In Mozilla Firefox and...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
6
by: ITistic | last post by:
http://tinyurl.com/5z4yo4 When viewing this page in Internet Explorer for the first time the outer most table is much wider than it should be and then slowly resizes to the correct size as...
2
by: gentsquash | last post by:
(If my question is too much CSS, please point me elsewhere and I'll post there. My tests have been on Firefox on MacOS, and I'd settle for just getting this to work there.) I'm writing a game...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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,...

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.