Re: table-cell



Jukka K. Korpela wrote:
Jeff wrote:

I'd like to turn on and off table cells so I can display differening
data.

Since you are apparently doing this with client-side scripting (why else would you ask?), why don't you simply manipulate the document tree?

Server side in this case. And, I've never found manipulating the DOM tree to be simple. That's a bit of code to extract data from a table and then rebuild it and it's contents and attributes.

If
you depend on client-side scripting for some functionality, why would you _also_ depend on CSS support being enabled?

.some_row_class{
display: none;
}

Who turns that off?

Your text and your heading refer to cells, but your dummy class name suggests that this is about rows.

.some_row_class{
display: table-cell;
}

<td>, I'm not actually using a class to call them.

IE does not support any of the display property values that start with "table-".

However, if you really want to make yourself dependent on CSS as well as scripting, why don't you use just the first one of the rules and dynamically change the class property of a cell or row to "some_row_class" or to something else, depending on whether you want it to be displayed or not?

I think instead of turning on what I wanted, I'll turn off what I don't.

Is there a way to set an "element" back to it's default? Such as unsetting a width or in this case or display in this case. I can't find it.

Jeff

.



Relevant Pages

  • Re: editing current record
    ... Penny George wrote: ... It queries a database to display this information. ... >when I try to add a new record and manipulate the data in a drop down box. ... There is only one set of properties for a form control. ...
    (microsoft.public.access.formscoding)
  • Re: collection to dataset
    ... > collection class. ... > so i can "manipulate" the data and display it. ... "Programming is an art form that fights back" ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to manipulate list of dictionary
    ... Simon Brunning a écrit: ... How to manipulate the table? ... I need to search for the Po #, and display the result as below. ... So the next next solution is to use a true database - either a RDBMS, or an embedded one like SQLite. ...
    (comp.lang.python)
  • Visual FoxPro as a frontend for Firebird Open Source DBMS?
    ... in any way to access / manipulate / edit / display or report on data ...
    (microsoft.public.fox.programmer.exchange)