Advertisement

07.09.2007 at 09:11AM PDT, ID: 22683654
[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.2

Reduce table to make it fit on page

Asked by Gemini532 in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Dynamic HTML (DHTML)

Tags: , ,

Hello Everyone,
I have a table for which I need to make the cellpadding and cellspacing equal to zero, but it's all done in CSS

I also need 2 make the font smaller also, basically the table is too big and I'm tring whatever I can to reduce it
Any help U can give me will be greatly appreciate weather it's font size, or cell padding, the cells have so much space in between them, and I can't figure out why..?!?!

============================================================================
This is the CSS it's in a separate file and then they use include to get to it from the page
If you want me to include more of the CSS code please let me know, I didn't want to make it too long, cuz I know that sometimes can get confusing, too much information....
============================================================================

table.example {
      border:1px solid black;
      border-collapse:collapse;
      background-color:#FCE4A4;
}
table.example th, table.example td {
      border:1px solid #aaaaaa;
      padding: 2px 15px 2px 15px;

}
table.example thead th {
      background-color:#ccccff;
      background-color:#DB794D;

}
table.example tfoot td {
      background-color:#ffccff;
}

table.example tr.tbody_header {
      font-weight:bold;
      text-align:center;
      background-color:#dddddd;

table.example a.pagelink {
      padding-left:5px;
      padding-right:5px;
      border:1px solid #666666;
      margin:0px 5px 0px 5px;
}
table.example a.currentpage {
      background-color:yellow;
}
/* Striping */
tr.alternate {
      background-color:#ffffcc;
}

/* Sorting */
th.table-sortable {
      cursor:pointer;
      background-image:url("sortable.gif");
      background-position:center left;
      background-repeat:no-repeat;
      padding-left:12px;
}
th.table-sorted-asc {
      background-image:url("sorted_up.gif");
      background-position:center left;
      background-repeat:no-repeat;
}
th.table-sorted-desc {
      background-image:url("sorted_down.gif");
      background-position:center left;
      background-repeat:no-repeat;
}
th.table-filtered {
      background-image:url("filter.gif");
      background-position:center left;
      background-repeat:no-repeat;
}
select.table-autofilter {
      font-size:smaller;
}

/* Examples which stray from the default */
table.altstripe tr.alternate2 {
      background-color:#ccffff;
}


============================================================================
On the page itself the table looks like this:
============================================================================

<table id="t1" class="example table-autosort table-autofilter table-autopage:10000000000000000 table-stripeclass:alternate table-page-number:t1page table-page-count:t1pages table-filtered-rowcount:t1filtercount table-rowcount:t1allcount">
      <thead>
            <tr>Start Free Trial
[+][-]07.09.2007 at 10:44AM PDT, ID: 19447151

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

 
[+][-]07.09.2007 at 10:45AM PDT, ID: 19447155

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

 
[+][-]07.11.2007 at 07:28PM PDT, ID: 19468300

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

 
[+][-]07.13.2007 at 04:05PM PDT, ID: 19485020

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

 
[+][-]07.14.2007 at 05:07AM PDT, ID: 19486579

View this solution now by starting your 7-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), Hypertext Markup Language (HTML), Dynamic HTML (DHTML)
Tags: css, fit, page
Sign Up Now!
Solution Provided By: Steggs
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-42