PDA

View Full Version : Tabbed Document Viewer Text Formatting Bug?



justinc5000
05-24-2006, 11:46 PM
Using the script from...
http://www.dynamicdrive.com/dynamicindex3/tabdocviewer.htm
...everything works wonderfully except on some computers the text comes up as bold then reverts to non-bolded text after the tab's page loads. I should mention that I also used script from...
http://www.dynamicdrive.com/dynamicindex3/document2.htm

Here is my page...
http://www.campbellrinker.com/reports/SAG.html

I hope there is an obvious solution, thanks.

ddadmin
05-25-2006, 01:18 AM
Is the browser used in the problem cases IE? I see you're using transitions to bring up the documents. In some versions of IE, a bug causes text to go bold when a transition is applied to the text. Try giving each external document an explicit background color, such as:


<body style="background-color: white">

justinc5000
05-25-2006, 09:34 PM
Great, that fixed the problem. Also, the text box size changes when the curson leaves the tab that was selected, resulting in text that jumps around. Any quick fox for this? I'm using IE v6.0.2900.