Advertisement

09.11.2003 at 07:52PM PDT, ID: 20736505
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Dynamic table row height in IE with DOCTYPE STRICT

Asked by mingshuo in Cascading Style Sheets (CSS), Extensible HTML (XHTML)

Tags: , , ,

I am trying to create a 3-row-table with HEIGHT 100%, where row 1 and 3 should have a FIXED height (25px) !!, and row 2 a VARIABEL height, taking THE REMAINING x% of the page.

It works fine in MOZ 1.4 and also in IE6 in "transitional" quirks mode. But unfortunately it does NOT work in IE6 STANDARDS-COMPLIANT MODE, using the <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">

(So I have to work with doctype transitional for now, but that screws up other things on my page.)

How can I get this working in IE6 using doctype strict? (I don't want to use JavaScript to set the height, since then I have to adjust it on every ONRESIZE of the window, which slows down the page.)

Thanks
Mingshuo

http://search.experts-exchange.com/Web/Browser_Issues/Q_20728681.html
http://www.xs4all.nl/~ppk/css2tests/100percheight.html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html style="height:100%" xmlns="http://www.w3.org/TR/xhtml1">
 <head>
   <title>
     table-layout Demo
   </title>
 </head>
 <body style="height:100%; margin:0;">
   <table style="width:100%;height:100%;color:#ffffff;font-size:25px;table-layout: fixed;">
     <tr style="height: 20px; background-color:red;">
       <td>
           Top (This row is supposed to be of FIXED 25px height)
       </td>
     </tr>
     <tr>
       <td style="background-color: blue;">
         Middle (This row is supposed to fill the ramining x% of the page!)
       </td>
     </tr>
     <tr style="height: 20px; background-color:red;">
       <td>
           Bottom (This row is supposed to be of FIXED 25px height)
       </td>
     </tr>
   </table>
 </body>
</html>


If I take out the DOCTYPE definition (or set it to transitional) does it work in IE, too. But how to make it work in standards-compliant mode?

Start Free Trial
[+][-]09.12.2003 at 03:14AM PDT, ID: 9344691

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 14-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.12.2003 at 03:16AM PDT, ID: 9344714

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 07:09AM PDT, ID: 9345950

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Extensible HTML (XHTML)
Tags: height, table, row, ie
Sign Up Now!
Solution Provided By: COBOLdinosaur
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.12.2003 at 07:14AM PDT, ID: 9345982

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 01:53PM PDT, ID: 9348825

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 04:50PM PDT, ID: 9349775

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:01PM PDT, ID: 9349824

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:03PM PDT, ID: 9349834

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2003 at 05:08PM PDT, ID: 9349855

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.15.2003 at 06:41AM PDT, ID: 9362750

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43