aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to make a page fit to a screen? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to make a page fit to a screen?" Watch "How to make a page fit to a screen?" New topic
Author

How to make a page fit to a screen?

Darren Alexandria
Ranch Hand

Joined: Aug 17, 2007
Posts: 185
Good day!

I have a page that can extend its width and height depending
on dimension of my table.

My problem is that when I populate it with too many data,
the users have to scroll just to see the end.

Is there a CSS style to fix this? or javaScript maybe?

Thanks.
Patricia Samuel
Ranch Hand

Joined: Sep 12, 2007
Posts: 300
i do not think we can resize the window....

can we??

I too have a page in my application which when contains more columns , shows a scrollbar....
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Only option you have is to set a fixed width for the table.

Using 100% will let the table take up as much room as it wants.

Eric
Darren Alexandria
Ranch Hand

Joined: Aug 17, 2007
Posts: 185
Thanks for your reply Eric.
God bless you.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make a page fit to a screen?