Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox 4 puts odd borders on tables in TWiki pages

  • 7 답장
  • 15 이 문제를 만남
  • 1 보기
  • 최종 답변자: JonHertzig

more options

Tables that looked fine with previous versions of FF, and with other browsers look funny in FF4. In particular, some cells have black borders. May be related to the TWiki table plugin ?

Tables that looked fine with previous versions of FF, and with other browsers look funny in FF4. In particular, some cells have black borders. May be related to the TWiki table plugin ?

모든 댓글 (7)

more options

Firefox 4 does have some changes to its table border code. Can you link to a page that shows the problem?

more options

Sorry, it's proprietary info on an intranet.

more options

I have not installed FF 4 yet so I do not know how it looks like. Howver, you can see three tables in the related support request on twiki.org, SID-01162.

It is also not clear if Jon is using the default skin of TWiki, or if the issue is with a custom skin of TWiki. TWiki.org has the default skin.

글쓴이 PeterThoeny 수정일시

more options

I can now verify that there are some issues with table border colors on FF 4. I added a number of screenshots to SID-01162 that illustrate the issue on FF 4.

more options

I looked at the table at the bottom of the above linked page. The style rules affecting cell border colors just don't seem to apply to this particular table. Some of the rules are very close, but not a perfect match on the selectors for the th and td elements. Perhaps the old border-collapse code applied the table's border-color to the th and td elements as well?? That may have been a mistake.

TABLE:

<div class="twikiForm">
 <table class="twikiFormTable" border="1">
  <tbody>
   <tr>
    <th class="twikiFormTableHRow twikiFirstCol" colspan="2"><a 
href="/cgi-bin/view/Support/SupportForm" class="twikiLink">SupportForm</a></th>
   </tr>
   <tr valign="top">
    <td class="twikiFormTableRow twikiFirstCol" align="right"> Status </td>
    <td>Asked</td>
   </tr>
   <tr valign="top">
    <td class="twikiFormTableRow twikiFirstCol" align="right"> Title </td>
    <td>Tables rendering funny in Firefox 4</td>
   </tr>
...
  </tbody>
 </table>
</div>

CSS:

.twikiTable,
.twikiTable td,
.twikiTable th {
  border-color:#e2e2e2;
}
.twikiEditForm .twikiFormTable,
.twikiEditForm .twikiFormTable th,
.twikiEditForm .twikiFormTable td {
  border-color:#e2e2e2;
}
.twikiAttachments table,
table.twikiFormTable {
  border-color:#e2e2e2;
  background-color:#fff;
}
more options

This is not the exact same problem but it is related.

Example Page: http://dl.dropbox.com/u/7520799/HTMLPage.htm

Forum thread where I describe the problem: https://support.mozilla.com/en-US/questions/825230

more options

Here's a workaround: use the table plugin and specify tablerules="all". So at a minimum, include this directly before your table:

%TABLE{ tablerules="all" }%