473,660 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

collapsible tables: how to hide table rows in that testcase (IE failsto render ok, Moz,Op fine)

Please explain to a experienced fool like me, how to hide table rows
correctly at this case.
http://marekmand.kuubik.ee/iebug_can...s_properly.htm

Click on the header "label" and see how IE6 SP1 draws the borders
wrongly. How it can be patched?

Does that mean, that with the collapsed border table model one cannot
set the display of rows successfully with no side effects in IE6 SP1?

Please test it with older IEs if possible and say how it looks there.

--
marekmand
Tallinn, Estonia
Jul 23 '05 #1
5 2327
Marek Mänd wrote:
Does that mean, that with the collapsed border table model one cannot
set the display of rows successfully with no side effects in IE6 SP1?
It seems so, IE's support for CSS table properties has always been very
limited, in your case the table-collapse:collap se makes it fail, I'm
afraid you'll have to stick to 'simpler' approaches.
Please test it with older IEs if possible and say how it looks there.


IE4 : obviously fails on the javascript,
IE5 : hides correctly, but doesn't want to show,
IE5.5 : hides correctly, but doesn't want to show,
IE6 : hides incorrectly, but shows correctly.

If your connection permits it, then you can download and run multiple
versions of IE by yourself:

<URL:http://www.quirksmode. org/browsers/multipleie.html >
Regards,
Yep.
Jul 23 '05 #2
Yann-Erwan Perio wrote:
Marek Mänd wrote:
Does that mean, that with the collapsed border table model one cannot
set the display of rows successfully with no side effects in IE6 SP1?
It seems so, IE's support for CSS table properties has always been very
limited, in your case the table-collapse:collap se makes it fail, I'm
afraid you'll have to stick to 'simpler' approaches.
Thank you for your kind answer.
About table css support by IE is one thing that it is superior in, yet
that violates stoopid css2 spec - one can give paddings ans such to a
column, which other browserd dont support. I suspect the css2 spec was
written with so weak requierments just because of nobody expected to
implement such vital things as paddings on table columns.
If your connection permits it, then you can download and run multiple
versions of IE by yourself:
<URL:http://www.quirksmode. org/browsers/multipleie.html >


Thank you for the pointer, I am aware how to have many IEs on computer,
unfortunately I am recovering from surgery in bed and have borrowed
someone elses laptop for my amusement, so I amfraid I wont install the
other IEs.

--
marekmand
marekmand.kuubi k.ee
Jul 23 '05 #3
Marek Mänd <ca********@mai l.ee> writes:
Thank you for your kind answer.
About table css support by IE is one thing that it is superior in, yet
that violates stoopid css2 spec - one can give paddings ans such to a
column, which other browserd dont support. I suspect the css2 spec was
written with so weak requierments just because of nobody expected to
implement such vital things as paddings on table columns.


Or perhaps they expected browsers to support CSS 2 selectors, which would
allow:
tr > td + td + td { padding: 1em; }
tr > td + td + td + td { padding: inherit; }
for padding on the third column. However, six years after CSS 2 was
made a recommendation, IE still doesn't support large parts of it.

CSS 3 makes this even easier, but I doubt IE will ever support it.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #4
Lasse Reichstein Nielsen wrote:
Marek Mänd <ca********@mai l.ee> writes:
About table css support by IE is one thing that it is superior in, yet
that violates stoopid css2 spec - one can give paddings ans such to a
column, which other browserd dont support. I suspect the css2 spec was
written with so weak requierments just because of nobody expected to
implement such vital things as paddings on table columns.
Or perhaps they expected browsers to support CSS 2 selectors,
I like that You are keeping replying to moron like me =D

Expectation is a mother for all the great fckuups.
which would allow:
tr > td + td + td { padding: 1em; }
tr > td + td + td + td { padding: inherit; }
for padding on the third column. However, six years after CSS 2 was
made a recommendation, IE still doesn't support large parts of it.


No it doesnt really do that.
What it says, is about consecutive elements.
Thus isnt about columns.
Tables are mostly about columnar data, records in rows.
Write those selectors for 10 column wide table (very few columns for a
scientific study results) and if You want to be very precise then also
the combinations for TH and TD and so on... How should I know in first
place how much columns table will have - I dont, in the era of document
scripting, which has very little relevance to this point. Then make from
all of those combinations huge section in stylesheet of bloat css code
for different medias too - print media is definately what you want to
style, projection maybe too. Now very funny, assume we got the word by
word W3C crap workin is some kind of 3lit3 browser (which renders it
useless).
Ok... got workin... hm OH NO!
OH NO, POOR ME! Mental orgasm. Now I have to have another kind of table
and third kind of styled table, sure our corporate site has lots of
kinds of tables,
not two or three... I like to write adjacent selectors... Power of
css... Sure our corporation that has a brandbook etc will throw the
human generations image away and make a webpage looking like w3.org.

Eventually all the companies on the world will look the same and have
same kind of homepages...- thought sleepy w3c comitee member without
having morning coffee that would make the world living worth...

And the bastardization because of the pussy/sissy weak rules on
inheritance on columns once years ago agreed on (probably because of the
laiziness and unwilligness to push such advanced, annoying but for the
web enironment vital specpoint saving the traffic) creates piles of
unmanagable crap, exactly the opposite situation to the css slogans of
ease of mods,write once, reuse, easy to share.
Which all should be made actually as a laughing testcase over the
efforts of css and designer whoever worked on it. Sure he had own
reasons, but why should on care about them - Web is about commerce for
now many many years. Commerce means prices, pricelists, all columnar
data. Web shouldnt depend on ones specwriters small or the other way
round - vicious - ego.

The old way to add paddings for "columns" is to create for each cell
extra 2 dummy cells around the cell with spacer gif in them.
Probably this is the safets way for the next 5 years after it itself
beeing practised for 8 years or maybe even more.

If You find me writings amusing (i intentionally use ranting style,
nobody wasnt to read boring facts) then bookrmark the main therad of
those and read those postings,
I have been asking for people to think very long time (well, the css2
was out in year 1999 late autumn when I first got computer internet
connection, but I am not blame for this that coulnt manage to save
humakind for the horrible works on css ;D )

http://groups.google.com/groups?hl=e...era.com#link17
http://groups.google.com/groups?hl=e...pera.no&rnum=6
http://groups.google.com/groups?hl=e...0mail.opera.no
http://groups.google.com/groups?hl=e...opera.no#link1

--
marekmand
Tallinn, Estonia
marekmand.kuubi k.ee
Jul 23 '05 #5
Marek Mänd wrote:
Lasse Reichstein Nielsen wrote:
Marek Mänd <ca********@mai l.ee> writes:
About table css support by IE is one thing that it is superior in, yet
that violates stoopid css2 spec - one can give paddings ans such to a
column, which other browserd dont support. I suspect the css2 spec was
written with so weak requierments just because of nobody expected to
implement such vital things as paddings on table columns.
Or perhaps they expected browsers to support CSS 2 selectors,


I like that You are keeping replying to moron like me =D

Expectation is a mother for all the great f[...].
which would allow:
tr > td + td + td { padding: 1em; }
tr > td + td + td + td { padding: inherit; }
for padding on the third column. However, six years after CSS 2 was
made a recommendation, IE still doesn't support large parts of it.


No it doesnt really do that.
What it says, is about consecutive elements.


Which are columns if it comes to TD and TH elements as
those elements must not have other siblings than TD and TH.
Write those selectors for 10 column wide table (very few columns for a
scientific study results) and if You want to be very precise then also
the combinations for TH and TD and so on... How should I know in first
place how much columns table will have - I dont, in the era of document
scripting, which has very little relevance to this point.
In the era of document scripting, you could both determine the maximum
number of child elements of a TR element to retrieve the number of
columns and use loops and DOM methods to define proper CSS rules.

However, if the COL element would be widely supported, that would
be the one element to play with when it comes to table columns.
Ok... got workin... hm OH NO!
OH NO, POOR ME! Mental orgasm. [...]


I would be thankful if you would be less verbose in your Usenet postings
and would improve your wording a little bit, especially when it comes to
style. You are often merely expressing your thoughts, however Usenet is
for discussion, it is not for sermons and it is clearly not for rants.
Regards,

PointedEars
Jul 23 '05 #6

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

Similar topics

3
27137
by: Harry | last post by:
I want to provide a drill down facility for the users - the plan is to intially display a table with summary rows containing results of previous selected search criteria. In each summary row you have a button to drill down i.e which displays X number of rows with results that make up the summary row value. When "drilled down" also provide a button to "collapse" the detail rows! Is it possible to show/hide individual rows in a table? -...
2
4946
by: KathyB | last post by:
Hi, I'm trying to get the following script to work, but I'm getting an error saying "rowID is undefined". function showhide(rowId) { var showRow = "Edit_" + rowID var hideRow = "View_" + rowID document.getElementById(showRow).style.display ="block"; document.getElementById(hideRow).style.display = "none"; }
2
8221
by: Mark | last post by:
Hi, I need to be able to have five different links and when when someone clicks to show row 2, row 1 automatically hides. Right now all i can figure out is a link that will show but then you have to click the same link to hide. I want to be able to turn off a row when another row is clicked on to show? Can someone help?
9
33435
by: Wang, Jay | last post by:
I try to group several rows in a table into a div and show/hide them by click on a button somewhere with a javascript link. When clicked, the link will toggle the style of the div section's style between BLOCK and NONE. This technique works on normal text fine, but it doesn't work on part of the table, is there a solution that I can achieve the goal of turning on/off several rows all together? Thanks.
3
16931
by: AR | last post by:
Hi, How can I hide table rows? ... tried with the following example: FireFox works... How to do the simillar in IE6? <html> <head> <script language="javascript"> function hide_row() { var v = document.getElementsByName("trBook"); v.style.display = 'none';
1
2125
by: RA | last post by:
Hi I want to have a FAQ so that when the user clicks the question the answer will be shown below the questions. How do I do it? I use c# with asp.net. Thanks
1
1894
by: shankwheat | last post by:
I'm creating a dynamic table with asp and I would like to add a "Show All" and "Collapse All" feature to show/hide certain rows within the table. This code works well for showing/hiding one row at a time but I'm not sure how to all the "Show All/Hide All" feature. Thanks. function sh_RowShowHide(sh_RowID) { var currRow = document.getElementById(sh_RowID); if (currRow.style.display=="none") { currRow.style.display="";...
1
7403
by: jbreaker | last post by:
Hi - I have a table with about 30 rows, which contain a checkbox and a bit of text each. What I'm trying to find a way to do is to have 2 buttons at the bottom of the page - HIDE & SHOW. When the HIDE button is clicked, I need to hide all the table rows which contain UNCHECKED textboxes. When the SHOW button is clicked, I want to restore the visibility of all the rows. I need to do this in JavaScript (which is what I'm having trouble with)...
5
3202
by: Liquidtouch | last post by:
I'm not much of a HTML or Javascript programmer but have a little experience just hacking away at it. I am creating a HTML application and would like to be able to add or remove rows of a table. The row that gets added will need to contain 2 columns, 1 which contains an IFRAME, and the other will contain a Javascript Menu which will be used to select the content displayed in the IFRAME. The purpose of the tool is to be used as a video...
0
8428
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
8851
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
8542
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
8630
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...
0
7362
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
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
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1740
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.