Re: scrolling HTML tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



C.R.Vegelin wrote:

I hope it's not the wrong place to ask, but has anyone experience with scrolling HTML tables ?

It's not really a PHP question, and while personally I don't care, you ought to keep on-topic to avoid retribution from the "if it isn't PHP, it shouldn't be talked about" list nazis.

According http://www.w3schools.com/tags/tag_thead.asp
"The thead, tfoot and tbody elements enable you to group rows in a table.
 When you create a table, you might want to have a header row, some rows with data, and a row with totals at bottom.
 This division enables browsers to support scrolling of table bodies independently of the table header and footer."

Sadly no browser works like this. You have to remember that the W3C recommendations are just that, recommendations, as to how the client should render the controls. I don't know of any browser that will automatically keep a table header/footer inline and allow only the scrolling of the content region. Mind you, I've never seen a browser allow for pop-out rendering of select list optgroups either.

In short, you'll need to fake it, and CSS is your friend in this regard. So best to ask on a dedicated CSS list.

Cheers,

Rich
--
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux