CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 8th, 2003, 09:10 PM
csaba csaba is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: NYC
Posts: 79 csaba User rank is Private First Class (20 - 50 Reputation Level)csaba User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Advanced Table/CSS issues

I'm trying to set up a page (on IE 5.5+ only) where I've got a table to display (table-layout=fixed), and each <TD> element actually contains a <SPAN contentEditable style='overflow:hidden'>Text goes here</SPAN>

I have three questions:
1. How do I specify the line height for each table row to be 1, so that I won't get any overflow onto the second line, but so I don't have to choose pixels?

2. What I'd REALLY like is when there is an empty cell or cells to the right of a cell that has overflow, for that overflow to spill to the right and show (more of) its additional text. This is what happens in an Excel spreadsheet.
At the same time, if someone clicks on one of those empty cells, they should be able to edit it. (Are Z-orders the way to go here?)

3. Can I conveniently identify which cells are overflowing?

Thanks for any tips you may have,

Csaba Gabor from New York

Sample table:
<TABLE border=1 style='table-layout:fixed;width:3in'>
<TR><TD style='border:groove 1px'>
<span style='height:22px;overflow:hidden' contentEditable>This is a very incredibly long cell that doesn't know what to do with itself
</span></TD>
<TD>Cell 2 of Row 2</TD>
</TR></TABLE>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Advanced Table/CSS issues

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap