Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2004, 10:28 AM
WebProWorld New Member
 

Join Date: Sep 2003
Location: UK
Posts: 1
simonB RepRank 0
Default Hidden tables and the scrollbar !!

IE6.0

Okay, so I have a table with hidden rows.
The page loads, fine.
Then the user actions starts revealing the hidden rows (style.display:inline) and the rows appear as planned.

However, as the rows are revealed, so the page begins to extend off the botton on the window... but the browser scrollbar does not resize/rescale itself ... therefore the user cannot scroll down to view the bottom of the page !?

I think it is in part related to my <div> layout ... but i have no idea why this would cause the effect !?!?

<BODY>

<div class="Header"> <!-- relative ->
blah
</div>

<div class='envelope'>
<div class="navLeft">
</div>

<div class="Centre">
</div>

<div id='navRight' class="navRight">
</div>
</div>
</body>

... i can obviusly supply full code if needed but thought this simplified version may be more useful for now ?

Hope somone can help ?? Driving me mad !!

Simon
Reply With Quote
  #2 (permalink)  
Old 03-22-2004, 05:25 PM
WebProWorld Veteran
 

Join Date: Nov 2003
Location: Castle Rock, CO
Posts: 494
Corey Bryant RepRank 0
Default

Are you using overflow anywhere?
Reply With Quote
  #3 (permalink)  
Old 03-22-2004, 07:47 PM
mikmik's Avatar
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Edmonton, AB, Canada
Posts: 3,406
mikmik RepRank 1
Default

Hi guys.
I am not to sure it has anything to do with your layout divs, but sometimes IE can do weird things depending on all sorts of attributes you may or may not give child elements.
I will often just make a 'clearing div' and put it last in the the 'envelope' :
.gutter{width:3%;
height:1px;
clear:left;}
Or else try it just inside the closing tag for the envelope div.
I really need to see more of the code, I had the same sort of problem with an expanding menu in an abs. postioned container, and I ended up just makine the abs. div tall enough to fit everything when expanded, so that the scrollbar is there even with an almost empty column.
There is a bunch of things to consider though.

Are you using getelementById/innerHtml stuff? Or it looks to me like you are going from display:hidden?

I will help look for reasons, I just don't have enough practice to know the workarounds off by heart yet, even though this must be a common one!
__________________
What I am is what I am, are you what you are, or what.
Eddie Brickel
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0