Connecting Tech Pros Worldwide Help | Site Map

Auto resizing

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 05:35 PM
DejaUser
Guest
 
Posts: n/a
Default Auto resizing

I am using following code to keep the header info. fixed on the screen.
Below the header, I have a scrollable table. I'd like to know how I
can auto-reize the height of the <div> element (currently I hard-coded
it to 425.. but I'd like it to auto-resize depending on the browser
space available.)

Thanks

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

<html>
<body>
Some content.. (this content needs to be fixed, i.e. should not scroll
off the window).

<div id=statusContent style="overflow: auto; width: 840; height: 425;
border-left: 1px gray solid; border-bottom: 1px gray solid;
padding:0px; margin: 0px">

some content here...

</div>

</body>
</html>


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.