• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Scroll table within a table not working

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the following code for scrollbars (horizontal and vertical) inside a table not working.. If I remove the outer table the scroll table is fitting in side the window.. Please advise how to make this work with table inside a scroll table.

Thanks
Satya

 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
your css rules are too generic

Eric
 
satya mamillapalli
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:your css rules are too generic

Eric



I was just giving an example.. When I remove the outer table , The scrollbars are coming up fine hoirizontally and vertically

But If I keep the outer table, Horizontal scroll is not coming..

Thnaks
Satya
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
width of 100% normally does not produce scrollbars. You need a fixed width.

Eric
 
satya mamillapalli
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:width of 100% normally does not produce scrollbars. You need a fixed width.

Eric



I was wondering why the Height 100% works fine whereas width 100% does not work..

If I give width in Pixels , the scrollbars are coming fine.. BUT I have an issue because I can only make it look for one specific resolution... I am trying to get the both horizontal and scrollbar inside the table for all resolutions..

Can someone please advise on how to get both scrollbars inside a table taht works for all resolutions..


Thnaks
Satya

 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
add style="zoom:1"
to the div and the td that holds the div.

Eric
 
satya mamillapalli
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:add style="zoom:1"
to the div and the td that holds the div.

Eric



Eric

Tried the same and still same effect.. Please see the code below.. Please advise

I am testing this in IE8.

Thanks
Satya




I have another example code. It is also same..

 
satya mamillapalli
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Finally it worked..

width 100% still works.. need not be fixed


Thnaks
Satya
 
reply
    Bookmark Topic Watch Topic
  • New Topic