473,396 Members | 2,033 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.

Table - last column text overflow issues

2
Hi!
I'm struggling with a strange IE behavior regarding tables.
I have a table like the following one

<table cellpadding="0" cellspacing="0" border="1" width="500">
<tr>
<td><div style="overflow:hidden;width: 355px;">Header1</div></td>
<td><div style="overflow:hidden;width: 100px;">Header2</div></td>
<td><div style="width: 100%;overflow:hidden;">Header3</div></td>
</tr>
<tr>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body1</div></td>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body2</div></td>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body3</div></td>
</tr>
<tr>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body1</div></td>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body2</div></td>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body3</div></td>
</tr>
<tr>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body1</div></td>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body2</div></td>
<td style="overflow:hidden;"><div style="overflow:hidden;">Body3</div></td>
</tr>
</table>

Firefox and Opera interpret it perfectly and last column shrinks as first one or any other grows.
In IE overflow seems to be ignored.
Are there any ideas of how to achieve equal behavior in all 3 browsers?
Thx
Jul 14 '07 #1
2 2713
drhowarddrfine
7,435 Expert 4TB
Overflow is ignored if the element does not have a width set in stupid IE.
Jul 14 '07 #2
lexor
2
I had to find workaround. It was a javascript snippet
Jul 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

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.
5
by: Jean Pion | last post by:
Dear readers, Can anyone explain how to set column width of a table in ccs. I use the following style in an external stylesheet: table.tbl { table-layout:fixed; border-top: 5px solid #333;...
7
by: David Findlay | last post by:
I'm trying to do a table for laying out a links page in CSS. See http://qldstorms.com/links.php. My stylesheet is at http://qldstorms.com/styles/screen.css. My problem is that if the link name in...
7
by: Shawn B. | last post by:
Greetings, I am trying to create a table that has a scrolling body. The problem I'm experiencing is that if the columns in the "body" part of the table exceed the width of the "header" then...
3
by: RC | last post by:
Dear Dudes, I post this in multiple groups for opening brain storm. Sometime I need to query the data from database server then display them into user's browser in HTML <table>. But if the...
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...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
6
by: Romulo NF | last post by:
Greetings again to everyone, Im back to show this grid componenet i´ve developed. With this grid you can show the data like a normal table, remove the rows that you need, add rows, import data,...
5
by: Stepheno | last post by:
Hi, I am a recently converted Iseries (AS/400) RPG programmer trying to learn HTML/CSS/JavsScript all at the same time (not fun). My problem deals mostly with CSS. I will be reveiving a table,...
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?
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
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
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.