|
Hi,
I have a nested table arrangement for displaying data. I want the nested table to be in a TD that spans all the parent table columns. So I have colspan set. However I also want the user to be able to click on the parent to hide/unhide the child data...
Started by javadeveloper on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Only change this part of CSS
<style type="text/css"> .hidden { display: none; } .unhidden { display:; } </style>
Get rid of your ... .
Change the css line about unhidden to: .unhidden { display: table-row; }
block is an invalid style for trs .
|
|
<script type="text/javascript"> $(document).ready(function() { $('#description').show(); $('#extender').click(function() { $('#description').slideToggle("fast"); }); }); </script> <tr> <td>cell1</td> <td><a href=...
Started by Rob on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Workaround for this is to put TD's+' TD'); el.wrapInner("<div/>"); $("TR.post_"+_id+' TD DIV').slideUp('500'); setTimeout(function.
There might be a problem might with animating table element .
|
|
Hi there,
I have a simple table structure like this. What I would like to do is to dynamically merge some columns based on some condition within the for example, if td1 and td3 are empty then merge the cells and do <td class="col1" colspan="3">1...
Started by Terry Marder on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
(); } }); if (!counter == 0) { $('td:not(.colTime):first', $tr) .attr('colSpan', counter + 1;holder</td> </tr> <tr valign="top"> <td class="colTime">10:00 – 10:45< class="col3">Meeting 3&....
|
Ask your Facebook Friends
|
Hi,
I a couple of issues using Tablesorter 2.0.3.
The first issue is when I set a colspan on my table. Basically when I do this as below it doesn't sort the respective columns.
<table> <thead> <th colspan="3"></th> <th>Four...
Started by Mike on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In relation to the colspan, I have just had to resort to having blank 's for it to sort.
It to.
|
|
I have been wondering about this. Why does the alignment of the td gets affected when placing controls inside it.
For example.
<tr> <td>Row 1</td> <td> <input type="text" /> <input type="button" value="Select" /> <...
Started by Nassign on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Lt;/td> <td style="line-height: 120%" colspan="2"> <input type="text" /> <input;td>Selected Value 1</td> </tr> <tr> <td>Row 2</td> <td colspan" /> </td> <....
|
|
Is it possible to fix the height of a row (tr) on a table?
The problem appears when I shrink the window of the browser, some rows start playing arround, and I can not fix the height of the row.
I tried several ways: tr width="20" / tr style="height:20...
Started by Cesar Lopez on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This should fix your problem:
overflow:hidden;
Put that in the TR styles Although it should solution is to put the....
Cellspacing="10px"> <tr> <td style="height:15px;">NHS Number</td> <td> < the TR.
|
|
I set the border for the table event_calendar tr to be red, it works in everything except IE 6 & 7. What is wrong with my CSS?
table#event_calendar tr { border:1px solid red; } <div class="content-body"> <table id="event_calendar"> <tr ...
Started by Brad on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
IE does not honor solid red; } table#event_calendar td, table#event_calendar th { border-top: 1px solid red; border-bottom: 1px solid red; }
Your CSS ....
Change your CSS selector to "table#event_calendar tr td " and it should work.
|
|
I can't make td "Date" to have fixed height. If there is less in Body section td Date element is bigger than it should be - even if I set Date height to 10% and Body height to 90%. Any suggestions?
<tr> <td class="Author" rowspan="2"> <...
Started by rafek on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Into account?
You could try adding colspan="2" to the .Body td or an extra element with only a non this:
.Date { height: 10% } .Body { height: 90%; }
That the .Date td is bigger than it should be? How do.
|
|
I've discovered something quite odd in IE 9 and FF 10.0.4 if you have this type of a table layout: Code: <table cellspacing="0" cellpadding="2" border="1"> <tr> <td colspan="2">Column 1 & 2</td> <td>Column 3</td> <...
Started by JuggaloBrotha on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at vbforums):
Cellspacing="0" cellpadding="2" border="1" class="tbl"> <tr> <td colspan="2">Column 1 & 2;/td> <td colspan="2" style="width:99%">Col 2 & 3</td> </tr> <tr> <td>Col1</td>....
|
|
I've discovered something quite odd in IE 9 and FF 10.0.4 if you have this type of a table layout: Code: <table cellspacing="0" cellpadding="2" border="1"> <tr> <td colspan="2">Column 1 & 2</td> <td>Column 3</td> <...
Started by JuggaloBrotha on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at com):
Cellspacing="0" cellpadding="2" border="1" class="tbl"> <tr> <td colspan="2">Column 1 & 2;/td> <td colspan="2" style="width:99%">Col 2 & 3</td> </tr> <tr> <td>Col1</td>....
|