Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / April 2005



Tip: Looking for answers? Try searching our database.

FireFox CSS overflow on table cells versus MSIE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marek Mänd - 29 Apr 2005 10:36 GMT
I have question regarding CSS overflow atribute.

<body>
<table style="height:100%" id="pagetable">
<td style="vertical-align:top;">
<div
style="height:100%;overflow:scroll;/*overflow:-moz-scrollbars-vertical;*/overflow-x:hidden;overflow-y:auto;">
<table style="width:100%;">

which works fine in IE as i want it to, but not in Mozilla/Firefox 1.03.

Although i have overflow set on DIV to scroll, Mozilla Firefox1.03
doesnt respect that and if there is taller content in the INNER TABLE
than that of 100% of the div (that is 100% of the page table), the inner
TABLE is not "scrolled", but makes the height to expand by which it
makes the outermost "pagetable" alst to expand in height (which becames
taller than the browser area) which ruins the layout completely.

http://www.hot.ee/idaliiga/table-hell-layout.htm
(testcase, but not the smallest one)
Rijk van Geijtenbeek - 29 Apr 2005 10:39 GMT
> I have question regarding CSS overflow atribute.
..

> http://www.hot.ee/idaliiga/table-hell-layout.htm
> (testcase, but not the smallest one)

You are relying on quirks mode rendering, which is not a solid base. For  
vertical percentage heights to work, the outer container should have a  
defined height according to the CSS spec. If you add a 100% height to the  
BODY or HTML element, the viewport size will be used in most browsers.

Signature

           Get Opera 8 now! Speed, Security and Simplicity.
                  http://my.opera.com/Rijk/affiliate/

                                                   Rijk van Geijtenbeek

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.