table

How to make a bilingual site without creating a separate ASP page for each language?

I need ideas on how to go about table layout problem. I want to set different width of the columns dependent on the picked language. ...

How to create div to fill all space between header and footer div

I'm working on moving from using tables for layout purposes to using divs (yes, yes the great debate). I've got 3 divs, a header, content and footer. Thea header and footer are 50px each. How do I get the footer div to stay at the bottom of the page, and the content div to fill the space in between? I don't want to hard code the cont...

Search All Fields In All Tables For A Specific Value (Oracle)

Is it possible to search every field of every table for a particular value in Oracle? There are hundreds of tables with thousands of rows in some tables so I know this could take a very long time to query. But the only thing I know is that a value for the field I would like to query against is '1/22/2008P09RR8'. I've tried using this s...

Setting a DBGrid column format in Delphi

I am using a DBGrid component in delphi. I wonder how I can set the format of a column. I have real values that I want to be displayed as currency in the grid. Someone knows how? ...

How do I hide the middle of a table using jQuery?

I have a really long 3 column table. I would like to <table> <tr><td>Column1</td><td>Column2</td></tr> <tr><td>Column1</td><td>Column2</td></tr> <tr><td>Start</td><td>Hiding</td></tr> <tr><td>Column1</td><td>Column2</td></tr> <tr><td>Column1</td><td>Column2</td></tr> <tr><td>Column1</td><td>Column2</td></tr> ...

Should key values in a database table be hashed?

Suppose a database table has a column "Name" which is defined as key for the table. Usual name values will be "Bill", "Elizabeth", "Bob", "Alice". Lookups on the table will be done by the name key as well. Does hashing the values optimize the operations in any way? i.e. entering each name as some hashed value of the name (suppose MD5 - ...

How can I create a copy of an Oracle table without copying the data?

I know the statement: create table xyz_new as select * from xyz; Which copies the structure and the data, but what if I just want the structure? ...

Winform create table in RichTextBox control

I need to create a simple editor using a RichTextBox control in a windows forms application that includes the ability to create tables. Is it possible to create a table in a RichTextBox control? If so, any pointers on the best way to do this would be appreciated. ...

Is it possible to simulate spacing between table cells such that vertical and horizontal spacing are different?

In CSS, you can specify the spacing between table cells using the border-spacing property of a table. However, this results in uniform spacing between columns and rows, and I am finding more situations where the designs I am using call for gaps between rows, but not columns, or visa versa. If I have a solid background, I can simulate s...

Queues against Tables in messaging systems

I've been experiencing the good and the bad sides of messaging systems in real production environments, and I must admit that a well organized table or schema of tables simply beats every time any other form of messaging queue, because: Data are permanently stored on a table. I've seen so many java (jms) applications that lose or vanis...

Changing the color of a selected link that is embedded in a table.

Hi, I'm trying to use class names to change the color of a link after it has been selected, so that It will remain the new color, but only until another link is selected, and then it will change back. I'm using this code that was posted by Martin Kool in this question: <html> <head> <script> document.onclick = function(evt) { ...

Are loops the best way to build a table?

I have to build an HTML table that shows data for users versus pages visited. It seems klunky to use for and/or foreach loops, but I can't think of anything better. I'm using PHP, but I would assume that this is language agnostic. ...

CSS for container divs and falling to the next line

Hi, I'm more of a programmer than a designer, and I'm trying to embrace DIV's rather than using tables but am getting stuck. Here's what I'm trying to do. I am setting up a survey page. I want each question's text to sit at the top of the blue div, and wrap if it's too long. I want all of the red divs to line up at the top right cor...

CSS floats - how do I keep them on one line?

Hey, I want to have two items on the same line using 'float: left' for the item on the left. I have no problems achieving this alone. The problem is, I want the two items to stay on the same line even when you resize the browser very small. You know... like how it was with tables. The goal is to keep the item on the right from wrapping...

Disappearing CSS table cell borders in Gecko-based browsers

I have a very specific html table construct that seems to reveal a Gecko bug. Here's a distilled version of the problem. Observe the following table in a gecko-based browser (FF, for example): (you'll have to copy and paste this into a new file) <style> table.example{ border-collapse:collapse; } table.example td { border:1px ...

Make HTML Column Wider As Inner Div Expands

Please consider the following: <td style="width: 500px;"> <div style="width: 400px;">SomeContent</div> </td> For some reason, the column that contains a div will not expand to 500px as the style suggests. Do you know how to get the td to honor the width that I am specifying in the style? ...

MySQL - Select from a list of numbers those without a counterpart in the id field of a table

I have a list of numbers, say {2,4,5,6,7} I have a table, foos, with foos.ID, including say, {1,2,3,4,8,9} Id like to take my list of numbers, and find those without a counterpart in the ID field of my table. One way to achieve this would be to create a table bars, loaded with {2,4,5,6,7} in the ID field. Then, I would do SELECT bar...

CSS: Repeat table headers in print mode

Is it possible in CSS using a property inside an @page to say that table headers (th) should be repeated on every page if the table spreads over multiple pages? ...

displaytag, grouping and blank lines

I'm looking for a way to do grouping with displaytag but with the group title separated from the detail. It's probably not all that clear, so here is an example : If I just add groups to a displaytag table, I end up with something like : | group1 | item1 | | | item2 | | | item3 | | group2 | item4 | | | item5 | I ...

CSS/Tables issue on mac

I'm experiencing some problems with CSS and/or tables on my newly redesigned website. Because of the well known "100% div height"-issue, I have resorted to using tables as a structural element of the website. So it looks something like this: HTML MARKUP: <div id="header">...</div> <table> <tr> <td><div id="main">...</div></td> ...