table

Is it better to use divs or tables to contain columns of links?

I have a page with 3 columns of links at the bottom. Each column is put into a div and all three divs are wrapped into a big div that is centered on the page. Is this something that is better suited to a table or is a table the wrong element for the job? ...

does SQL Server 2008 supports table level readonly?

Hello everyone, Does SQL Server 2008 support table level readonly -- i.e. I can mark some table as readonly so that we could improve performance (for example, no transaction log needed for the readonly table)? thanks in advance, George ...

is a DIV inside a TD a bad idea?

It seems like I heard/read somewhere that DIVs inside of TDs was a no-no. Not that it won't work, just something about them not being really compatible based on their display type. Can't find any evidence to back up my hunch, so I may be totally wrong. ...

LaTeX, longtable package, p{width} and \multicolumn question

I have a really long table in LaTeX that spans several pages and is also too wide for the page. I am using the longtable package with every column width specified with the p{width} command. The problem is, that most of the rows contain a multicolumn call, and thus are not adhering to the p{width} command. Minimal example: \begin{longta...

Tables in IE do not have border when border = 0 in a css reset?

In my css file, I have a reset where I am setting the border:0. This causes all tables in IE, not firefox to have no border. Even if I set the border inline on the table, it still does not show in IE. Does anyone know the solution to this? Part of the rest: table, img { border:0; } <table border="1"> <tr> <td></td> </tr> </table>...

How to slideToggle table row using Jquery?

Hello, I was wondering how I can slideToggle a table row from my script. I have a php file that is included in an html page inside a div called 'output-listings'. PHP FILE: <?php function outputListingsTable() { $mysql = new mysqli('localhost', 'root', 'root', 'ajax_demo') or die('you\'re dead'); $result = $mysql->query("SE...

Making "empty" cells clickable in HTML tables

I would like to make all cells of an HTML table clickable--that is, the link from the anchor tag is active--from any point within a cell. The catch is that the cells have no contents. We are simply using the HTML table to visually represent quantities by coloring the backgrounds of each cell. The cells to contain anchor tags, but no cont...

Why is styling table columns not allowed?

W3 specifies that only four CSS rules are allowed for table columns (with the <col> element) - border, background, width and visibility. Does anyone know the reasons behind this decision? If you can have borders and backgrounds, why not fonts and colours? ...

problem with reload data from table view after come back from another view

I have a problem in my application. Any help will be greatly appreciated. Basically it is from view A to view B, and then come back from view B. In the view A, it has dynamic data loaded in from the database, and display on the table view. In this page, it also has the edit button, not on the navigation bar. When user tabs the edit b...

Relative position of a table column HTML / JQuery

Hi all, Quick html / Jquery question. Here's my situation: I want to hover over a table element, and display a popup box in a position exactly to the right of the element. I can display the popup correctly according to the position of my mouse coordinates, but I'd like the coordinates to not move, i.e., I'd like to position the popu...

slideToggle table row using Jquery Help!

Hey, I have been trying for over a week now to slideToggle a table row when the 'more info' button is clicked but nothing seems to be working at all. I'm new to Jquery so if anyone ca help me slideToggle the 'more-info-1', 'more-info-2', 'more-info-3' tr tags. the main problem is that those id's are created dynamically through php and I...

How to use jQuery to convert text to email links

I have an HTML table with one column being email addresses; spambot issues aside, I'd like to convert each <td> element in this column to a mailto: link. Here's what I've got: $("table.data tbody tr td:last").each(function() { var email = $(this).val(); $(this).html('<a href="mailto:' + email + '">' + email + '</a>'); }); And...

Which is more efficient: Multiple MySQL tables or one large table?

I store various user details in my MySQL database. Originally it was set up in various tables meaning data is linked with UserIds and outputting via sometimes complicated calls to display and manipulate the data as required. Setting up a new system, it almost makes sense to combine all of these tables into one big table of related conten...

jQuery Examples – Horizontal Accordion - Table instead of Un-ordered Lists - UPDATED

Ok I got it working for anyone who needs this :) [Original Statement/Question] Here is and example of what I'm trying to do (But on click not hover): The Example JavaScript: <script type="text/javascript"> $(document).ready(function(){ // Get original font size var originalFontSize = $('html').css('font-size'); ...

Table rows shifting right

Hey, I seem to be having a problem with my table when I load in more information with Jquery. When I click the 'more info' link more content slides down but unfortunately seems to expand the table right or something. Here are a picture of the page being expanded to explain better: 'more info' link clicked: Click Here And here is th...

Display already hidden table cells in IE with CSS.

IE 7 does not display the initially hidden table cells (class="c") when class of the containing div is changed to "b", where "display:none" rule is removed. However, it should as it does for the row (class="r"). Other browsers behave properly. Seems like an IE bug. Did anyone came across this issue before? Any solutions? Thanks a lot. ...

Need help in table creation for dropdown list

Hi all, I have table with name Dates. Fields are: Date of Joining Previous Date of Visit Number of Visit Reffered Department For Date of Joining and Previous Date of visit fields entering the data from drop down list. like...Select Day....Select Month.....Select Year. Then how many fields should be created.....How can i design this ent...

insert data in multiple table with single button click

Hi all, I am developing project on hospital management. I am entering the data of Patien details. like PatientsProfile: Id,Name,Age, Address, ContactNo PatientRelativeProfile: Admittername,Age,Address,ContactNo, Relationship Patients Defect Profile: Injury_Accident, Murder_Attempt, Cancer, Other Previous Treatment References: Hospital...

table-layout: fixed in Internet Explorer breaks large tables

I seem to have stumbled upon a bug (or at least I think so). The bug occurs in Internet Explorer 7 and Internet Explorer 8 in "compatible mode". Here is a test-page which reproduces the bug: <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd...

How to determine if a table has been accessed in the last month?

In Oracle 10, is it possible to determine when the last time a table was accessed? According to this article the data is there, but I'm not sure whether this is reset whenever the server is restarted, nor how to actually get the access information. We're actually trying to determine what tables are no longer used. ...