![]() |
|
|
|
#1 |
|
Posts: n/a
|
I'm so sick of IE. display: table-cell is just too useful not to have.
I was thinking of using php to deliver different code to IE... sending display: table-cell in the css for non-IE browsers, or wrapping the appropriate markup inside table markup for IE. Everything else will get nice, semantic table-free markup. I realise that browser sniffing is not 100% reliable, but all that that means is that in a few very rare exceptions a compliant browser will be handed table markup instead of semantic markup -- the page will still look the same, it will still work, and it will still validate. Comments? -- "Come to think of it, there are already a million monkeys on a million typewriters, and the Usenet is NOTHING like Shakespeare!" - Blair Houghton -=-=-=-=-=-=-=-=-=-=-=- http://www.nrkn.com/ -=-=-=-=-=-=-=-=-=-=-=- |
|
|
|
#2 |
|
Posts: n/a
|
"Nik Coughin" <nrkn!no-spam!@woosh.co.nz> wrote:
> I'm so sick of IE. display: table-cell is just too useful not to have. Maybe. What would you use it for? Maybe there's a different approach. Sometimes display: inline-block does what you want. If display: table-cell is essentially, maybe your data structure actually _is_ a table. I've seen that. People "get rid of tables", the rebuild the tables in CSS, without realizing they had _data_ tables, not layout tables. -- Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html |
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2006
Posts: 1
|
There's a potential work-around for this... in your <style>, try
* html .cell {display:inline} ...where .cell is the class name of the div that is supposed to act like a table cell. You should also leave the normal .cell class in there for (shall we say) normal browsers such as Firefox. I did try to use the width attribute but it had no effect. Not sure if this works in all versions of IE, but it seemed to work in 6. This solution might not be what you're after! |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Jul 2006
Posts: 14
|
Quote:
And add Code:
Should do the job for IE6... |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cell phone battery life | spider | General Help Related Topics | 1 | 12-15-2009 02:49 PM |
| Referencing Cell Color In Microsoft Excel | CVBartosh | General Help Related Topics | 0 | 10-03-2008 12:37 PM |
| Store HTML table Values into Database | subscribeid | Software | 0 | 09-05-2008 01:39 PM |
| How to Add more than one Textbox in a table cell on the fly.... | tapasmahata | Software | 0 | 04-26-2008 05:37 AM |
| Enjoy DVD movies on your cell phone | senderila | Software | 0 | 07-26-2007 10:04 AM |