Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,502,303
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-29-24 08:59 PM
Guest: Register | Login

0 users currently in Computing | 1 guest

Main - Computing - CSS and tables New thread | New reply


neotransotaku
Posted on 04-23-07 05:03 AM Link | Quote | ID: 29061


Shyguy
Level: 24

Posts: 2/95
EXP: 73031
Next: 5094

Since: 04-19-07

Last post: 5025 days
Last view: 2908 days
Is there any way, I can use CSS to create a table cell that is as high as my screen height, even though I have 1 line of text that is top aligned in that cell?

Tarale
Posted on 04-23-07 05:18 AM (rev. 2 of 04-23-07 05:19 AM) Link | Quote | ID: 29064


Spiny
Level: 53

Posts: 339/578
EXP: 1101165
Next: 55954

Since: 02-19-07
From: Adelaide, South Australia

Last post: 6090 days
Last view: 6079 days
<!--stupid center and width hack-->
height: 100%;
perhaps?
IE has a bug though where that will be relative to its parent element if positioned absolutely, so if the parent element isn't 100% height then neither will that element be...

I don't know, I'm a bit confused and I'd like an example.

____________________

This layout lovingly handcrafted in Smultron on a Macintosh

Xkeeper
Posted on 04-23-07 05:47 AM Link | Quote | ID: 29075


Level: 105

Posts: 1414/2846
EXP: 12031519
Next: 230741

Since: 02-19-07

Last post: 6063 days
Last view: 2800 days
In no-doctype mode, "table height=100% ... td height=100%" will work.

In any other doctype, the W3C scolds you for even thinking about using tables, lololol

____________________
I dealt with it.

Main - Computing - CSS and tables New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.018 seconds. (321KB of memory used)
MySQL - queries: 42, rows: 53/54, time: 0.015 seconds.