[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

03/04/2005 at 09:22PM PST, ID: 21338748
[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!

5.4

CSS DIV Stretching To Height

Asked by pbguy in Cascading Style Sheets (CSS), Dynamic HTML (DHTML)

Tags: css, height, design

Trying to convert my tables over to "No Table" CSS.  Even after tons of tutorials and examples, I'm running into problems!  I'm looking to address a couple of specific issues, points will be split between answers that address the following:

Thanks for any help!

***********************************
QUESTIONS (see code below:)
***********************************
1. miniLeft and miniRight - these are the left-hand and right-hand side borders.
I want the bgcolor to stretch to the bottom of the box, notice that they stop at the height
of the font size without repeating (left side bg is red, right is green.)  How can I
make this happen?
 
2. Title Text - in miniTop - should be vertically centered in the box.  How?
***********************************
***********************************

SOME BACKGROUND: The goal of my design is to be a flexible "Skin" franework
that will allow me to switch from bgcolor borders to graphic borders as needed.  
So there's lots of code!

Note that graphic file names are standardized, if the graphic does not
exist in the directory the div defaults to the bg color.

The snippet provided deals with the wrappers for small content,
like left side menus and news teasers.

Code changes should be pretty simple for all of you CSS experts, please post
code snippets...          


<HTML>
<HEAD>
</HEAD>
<BODY>

      <STYLE>
            /* *********************************************************** */
            /* SMALL CONTENT WRAPPER                                       */
            /* *********************************************************** */
            #miniTable
            {
                  width: 150px;  
                  height:;
            
                  background-color: #000000;
                  background-image: url( backgroundminiTable.jpg );
                  
                  border: solid 0px #000000;
                  border-spacing: 0px;
                  border-collapse: collapse;
                  
                  font-family: Verdana, Tahoma; Arial; sans-serif;
                  font-size: 10px;
                  color:#000000;
            
                  margin-left: auto;
                  margin-right: auto;
                  margin-top: 0px;
                  margin-bottom: 0px;
                  
                  padding: 0px, 0px, 0px, 0px;
            }
            
            #miniTop
            {
                  width:150px;
                  height:30;
                  
                  border: solid 1px #000000;
                  background-color: #00FF00;
                  background-image: url( backgroundminiTop.jpg );
                  border-spacing: 0;
                  border-collapse: collapse;
                  
                  margin-left: auto;
                  margin-right: auto;
                  margin-top: auto;
                  margin-bottom:auto;
                  padding: 0px, 0px, 0px, 0px;  
                  
                  white-space: normal;
                  vertical-align: middle;
                  text-align: center;
                  
                  color:  #FFFFFF;      
                  font-weight: bold;
                  font-size: 10pt;
                  font-style: normal;
                  font-family: Verdana, Tahoma; Arial; sans-serif;
                  
                  float:left;            
            }
            
            #miniLeft
            {
                  width:1px;
                  height:0px;
                  
                  border: solid 0px #;
                  background-color: #FF0000;
                  background-image: url( backgroundminiLeft.jpg );
                  border-spacing: 0;
                  border-collapse: collapse;
                  
                  margin-left: 0;
                  margin-right: 0;
                  margin-top: 0px;
                  margin-bottom: 0px;
                  padding: 0px, 0px, 0px, 0px;  
                  
                  white-space: normal;
                  vertical-align: top;
                  text-align:;
                  
                  font-family: Verdana, Tahoma; Arial; sans-serif;
                  font-size: 10px;
                  color:#000000;
                  
                  float:left;
            
            }
            
            #miniMiddle
            {
                  width:148px;
                  height:;
                  
                  border: solid 0px #;
                  background-color: #EEEEEE;
                  background-image: url( backgroundminiMiddle.jpg );
                  border-spacing: 0;
                  border-collapse: collapse;
                  
                  margin-left: 0;
                  margin-right: 0;
                  margin-top: 0px;
                  margin-bottom: 0px;
                  padding-left: 4px;
                  padding-right: 4px;
                  padding-top: 2px;
                  padding-bottom: 2px;
                  
                  white-space: normal;
                  vertical-align: top;
                  text-align: ;
                  
                  font-family: Verdana, Tahoma; Arial; sans-serif;
                  font-size: 10px;
                  color:#000000;
            
                  float:left;
            }
            
            #miniRight
            {
                  width:1px;
                  height:;
                  
                  border: solid 0px #;
                  background-color: #00FFF0;
                  background-image: url( backgroundminiRight.jpg );
                  border-spacing: 0;
                  border-collapse: collapse;
                  
                  background-repeat: repeat-y;
                  
                  margin-left: 0;
                  margin-right: 0;
                  margin-top: 0px;
                  margin-bottom: 0px;
                  padding: 0px, 0px, 0px, 0px;  
                  
                  white-space: normal;
                  vertical-align: top;
                  text-align:;
                  
                  font-family: Verdana, Tahoma; Arial; sans-serif;
                  font-size: 10px;
                  color:#000000;
            
                  float:left;
            }
            
            #miniBottom
            {
                  width:150px;
                  height:0px;
                  
                  border: solid 0px #;
                  background-color: #0000FF;
                  background-image: url( backgroundContentFooter.jpg );
                  border-spacing: 0;
                  border-collapse: collapse;
                  
                  margin-left: 0;
                  margin-right: 0;
                  margin-top: 0px;
                  margin-bottom: 0px;
                  padding: 0px, 0px, 0px, 0px;  
                  
                  white-space: normal;
                  vertical-align: top;
                  text-align:;
                  
                  font-family: Verdana, Tahoma; Arial; sans-serif;
                  font-size: 0px;
                  color:#000000;
            
                  float:left;
            }
            
      </STYLE>
   
      <DIV ID="miniTable">
      
            <DIV ID="miniTop">TITLE </DIV>
            <DIV ID="miniLeft"></DIV>
            <DIV ID="miniMiddle">
                  The content for this area goes in here.
                  As you would expect, the content is variable in length
                  and can be short like this blurb or very long.
                  All content is dynamically served so hardcoding heights
                  is not a viable option.
            </DIV>
            <DIV ID="miniRight"></DIV>
            <DIV ID="miniBottom"></DIV>
      
      </DIV>    
      
</BODY>

</HTML>
[+][-]03/04/05 10:11 PM, ID: 13464719

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/04/05 10:18 PM, ID: 13464738

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/04/05 10:19 PM, ID: 13464743

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/05/05 08:12 AM, ID: 13466202

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/05/05 03:19 PM, ID: 13467791

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/06/05 12:37 AM, ID: 13469587

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/06/05 06:28 AM, ID: 13470405

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/05 06:31 AM, ID: 13496027

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/05 07:19 AM, ID: 13496651

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/09/05 07:40 AM, ID: 13496944

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/05 08:07 AM, ID: 13497254

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/09/05 08:40 AM, ID: 13497669

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

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

 
[+][-]03/09/05 12:45 PM, ID: 13500231

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/09/05 12:52 PM, ID: 13500309

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/05 01:32 PM, ID: 13500680

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/05 02:32 PM, ID: 13501180

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/05 07:24 PM, ID: 13502789

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/09/05 07:40 PM, ID: 13502878

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/10/05 08:02 AM, ID: 13507355

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/10/05 08:11 AM, ID: 13507476

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/10/05 08:30 AM, ID: 13507769

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/10/05 11:29 AM, ID: 13509652

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/10/05 02:00 PM, ID: 13511385

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/10/05 02:27 PM, ID: 13511700

View this solution now by starting your 30-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), Dynamic HTML (DHTML)
Tags: css, height, design
Sign Up Now!
Solution Provided By: brunobear
Participating Experts: 3
Solution Grade: A
 
 
[+][-]03/10/05 02:57 PM, ID: 13512007

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

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

 
[+][-]03/22/05 02:51 PM, ID: 13606619

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/22/05 02:59 PM, ID: 13606685

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/22/05 03:07 PM, ID: 13606757

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/23/05 08:02 AM, ID: 13612817

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/23/05 08:10 AM, ID: 13612923

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/23/05 08:15 AM, ID: 13612973

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74