473,323 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

highlight rectangle in table?

Suppose you have an HTML table with 2 rows

1 2 3 4
5 6 7 8

and you click the cell with the 2 and drag to the cell with the 7.
You will see the items 2 3 4 5 6 7 highlighted. This is sort of
like what you would see in a Word document.

Suppose instead you wanted to see a rectangle highlighted: 2 3 6 7
sort of like an Excel document. Is there any way to achieve this
with CSS? Thanks.

Nov 9 '05 #1
3 1891
mitch schreef:
Suppose you have an HTML table with 2 rows

1 2 3 4
5 6 7 8

and you click the cell with the 2 and drag to the cell with the 7.
You will see the items 2 3 4 5 6 7 highlighted. This is sort of
like what you would see in a Word document.

Suppose instead you wanted to see a rectangle highlighted: 2 3 6 7
sort of like an Excel document. Is there any way to achieve this
with CSS? Thanks.


Why would you like to this? It's very abstract this way.

--
Niek
Nov 9 '05 #2
> Why would you like to this?

Because my table is more like an Excel spreadsheet
than like a Word document.

- Mitch

Nov 9 '05 #3
mitch schreef:
Why would you like to this?

Because my table is more like an Excel spreadsheet
than like a Word document.

- Mitch


Well, you just simply can't put an 'Excell'-like table in html, you have to use Excell to do that...

--
Niek
Nov 9 '05 #4

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

Similar topics

0
by: Doug Farrell | last post by:
Hi all, I'm trying to use the PHP GD functions to make graphical changes to image files. In particular I'm trying to add a 'highlight' rectangle to an image. So far everything I've tried doesn't...
3
by: John | last post by:
var tmpelem; tmpelem=document.getElementById("MyTableId"); tmpelem.select(); doesnt work - any ideas how I can get around this? I only want to highlight the table and all child nodes. ...
2
by: KP | last post by:
I want to automatically highlight parts of a webpage (make them standout from the rest of the contents). These parts could be as small as single image tags, and as large as complex tables, parts of...
11
by: VK | last post by:
Hi, I'm playing around with tables (TOM vs. DOM etc.) I cannot figure out an effective highlight mechanics for the cells: 1) No problems with: <td ...onMouseOver/Out background change> some...
6
by: Jim's wife | last post by:
Hi all I need to create a new table based on a source table. The new table is almost the same as the source table in that just some field names must change, and a few new fields added or...
2
cassbiz
by: cassbiz | last post by:
The output I am receiving is not highlighting all of the contents just part. in the below code @line 21 if a certain variable is met I want the cell highlighted. The problem is in the output it...
1
by: dixonjm | last post by:
Hi, I am adding a table dynamically using c# as below:- productCell = new TableCell(); KSSCheckBox checkBox = new KSSCheckBox(); checkBox.ID = string.Format("CheckBox|{0}|{1}", x,...
8
by: Irene | last post by:
Hi, I have an MS Access Database with 1 Table containing about 2 million records in Unicode (diferent languages). I would like to export the Table to a Text file (CSV, Tab, etc.) Access...
1
by: Jim Mandala | last post by:
I had a user that converted an application from Access 2003 to Access 2007. The application is split front-end/backj end. When trying to open certain forms, the front end reportst that they don't...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.