473,324 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

DIV Scrollbar problem in FireFox...

Dear Friends

The follwing code works well in IE .
-------------------------------------------

<HTML>
<body>
<TABLE id="tblParent" borderColor="#ccc6b0" cellSpacing="0"
height="100%" cellPadding="0" width="100%" border="1">
<TR style="height:50px">
<TD colSpan="3" valign="top">
TopPanel
</TD>
</TR>
<TR>

<TD width="115">
Left Panel
</TD>

<TD valign="top">
<div
STYLE="overflow-y:auto;height=100%;width=100%;border-color:red;border:solid">
Panel Panel Panel Panel Panel Panel Panel
Panel Panel Panel Panel Panel Panel Panel Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
Panel <br/>
</div>
</TD>

<TD width="61">
Right Panel
</TD>
</TR>
<TR style="height:50px">
<TD colspan="3">
Bottom Panel
</TD>
</TR>
</TABLE>
</body>
</html>

-------------------------------------------

But when see that page in firefox I could not able to get the same
functionality in IE.

The scrollbars of inner DIv Tag Disappears. And the table width exceeds
the browser width.

In IE,if this page is resized all the elements in that page are also
resized to fit the browser width no scrollbar appears. but I can't
able to get that in firefox.

How to solve this problem without using Frames or I Frames

regards
prakash

Jul 21 '05 #1
2 15740
On Mon, 23 May 2005 15:01:20 +0200, <pr***********@rediffmail.com> wrote:
Dear Friends

The follwing code works well in IE .
-------------------------------------------
...

<div STYLE="overflow-y:auto;height=100%;width=100%;border-color:red;border:solid">


Use : instead of =, that might help:
height:100%; width:100%;

Furthermore, "overflow-y" is a non-standard MSIE extension to CSS. Use
"overflow" instead. IIANM, Firefox 1.1 will support "overflow-y" though.

--
Get Opera 8 now! Speed, Security and Simplicity.
http://my.opera.com/Rijk/affiliate/

Rijk van Geijtenbeek

Jul 21 '05 #2
pr***********@rediffmail.com wrote:
Dear Friends

The follwing code works well in IE . snip...
How to solve this problem without using Frames or I Frames


Use a CSS layout with position: fixed. You'll have to fudge it for IE,
but there are plenty of references online. See my site (sig) for an
example similar to what you're trying, although I don't bodge up hacks
for IE users.

--
Mark.
http://tranchant.plus.com/
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: anna | last post by:
How to tell if a horizontal scrollbar is present? I only want to use scrollTo if horizontal scrollbar is present. window.scrollbars.visibility doesn't specify which scrollbar is present, so it...
4
by: Rob T. | last post by:
I am using a div tag to make an element that contains some text. I have specified overflow: auto; in my stylesheet. If I use font-size/line-height to specify the font information I get a vertical...
5
by: Spondishy | last post by:
Hi, I am using the following in my stylesheet to center divs in firefox. html>body { font-size: 13px; } div.centerdiv {
1
by: Goffin | last post by:
Hey I have an asp.net datagrid width a scrollbar. This scrollbar is placed using a div-tag around the grid with a style property overflow:scrolling, a width an a height. This works very well in...
1
by: dhnriverside | last post by:
Hi guys I'm using a div to create a list with ajax stuff. At the moment, the div shows a scrollbar if the content is larger than the div. The problem is that if it isnt, the scrollbar...
6
by: rajesh | last post by:
Is it possible to display the select box without scrollbar in my program there is a need for that . The code attached below contains 2 select box and four buttons and the button is used to...
2
by: harish | last post by:
Hi, When i use width:100% in firefox, Everytime when the site gets loaded it occupies full screen then the vertical scrollbar of firefox pushes the layout to the left causing a gerk. Anyone can...
14
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3 frames. (Please no diskussion about the sense of...
8
by: honey99 | last post by:
Hi! i have a problem with textarea scrollbar in firefox.In FF it is taking horizantal scrollbar by default??but in IE vertical scrollbar is displaying correctly..I want vertical scrollbar in FF and...
2
by: honey99 | last post by:
Hi! can anybody tell me how to remove horizantal scrollbar for <textarea> in firefox,i think firefox takes horizantal scrollbar by default.....and i want to display vertical scrollbar for <textarea>...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.