Question
Hi,
I am having problem with scrollbars. I am trying to create a pretty big table in a topic.
If i just create the table normally
- In Fire Fox, its works prefectly, having the horizontal bar for overflowing table.
- But in IE 6, it doesn't shows a horizontal bar for the overflowing table.
Strangely if you add <tr> before the table...which i accidentally added
- In IE 6, it will show the table perfectly with a horizontal scroll bar for overflowing table.
- But on contrary, on Fire Fox, everything works fine except the table will be shown much further down there leaving a big blank in the top of table
e.g using
FireFox as Browser
if not using <tr> in Fire Fox
My topic
if using
in Fire Fox, say i put the <tr> before the |A|B|
My topic
Currently i am using NatSkin, so i am just wondering is there a way to make the table having horizontal scrollbar for both browser without having some strange view
Thanks
Tommy
Environment
-- TommyMartin - 16 Aug 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Found the solution, just add some script,
<SCRIPT LANGUAGE = "JavaScript">
<!--
var browser = '';
var version = '';
var entrance = '';
var cond = '';
// BROWSER?
if (browser == ''){
if (navigator.appName.indexOf('Microsoft') != -1)
browser = 'IE'
}
if (version == ''){
version= navigator.appVersion;
paren = version.indexOf('(');
whole_version = navigator.appVersion.substring(0,paren-1);
version = parseInt(whole_version);
}
if (browser == 'IE' && version >= 4) document.write('<tr>');
// -->
</SCRIPT>
Not the best solutions probably,but it surely works
-- TommyMartin - 20 Aug 2007
-- TommyMartin - 20 Aug 2007

Ideas, requests, problems regarding TWiki?
Send feedback. Ask community in the
support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.