• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4532: Tables with mixed font size are shown with the columns wrong in Internet Explorer

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension PatternSkin Normal Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Tables with mixed font size are shown with the columns wrong in Internet Explorer

It is seen in TextFormattingRules

Image below shows this

tablebuginie.png

I have a fix for it

-- TWiki:Main/KennethLavrsen - 02 Sep 2007

The issue is in the style sheet for twikiTable.

.twikiTable td {
 padding:.25em 0.5em;
 border-width:1px;
}
.twikiTable th {
 border-left-style:solid;
 border-width:1px;
 padding:.4em 0.5em;
}
The 0.5 em does not work in IE probably because 0.5 em is different depending on text size. If I change it to 6px then I get visually the same result in FF and it works in IE.

-- TWiki:Main/KennethLavrsen - 02 Sep 2007

Fixed. Worked in 4.1.2 so closing

-- TWiki:Main/KennethLavrsen - 02 Sep 2007

The padding is not causing this problem (although it might have been invisible in 4.1.2 due to other settings). Point is that a pre inside a table does not work well. IE thinks it is wider than it is and pushes the outer right column further away.

A better solution is to let the pre blocks overflow inside a scroller. Until now I couldn't figure this out, but table-layout:fixed does the magic. Works in FF, IE6 and IE7 (win) and in FF and Safari (Mac). Downside is that IE7 shows a vertical scroller as well, but that may be solved later.

-- ArthurClemens - 02 Sep 2007

ItemTemplate
Summary Tables with mixed font size are shown with the columns wrong in Internet Explorer
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.2.0, Thu, 30 Aug 2007, build 14664
AppliesTo Extension
Component PatternSkin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:14686 TWikirev:14688 TWikirev:14689
TargetRelease minor
ReleasedIn 4.2.0
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng tablebuginie.png r2 r1 manage 18.2 K 2007-09-02 - 16:03 KennethLavrsen  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-09-02 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback