posted 20 years ago
May be I did not phrase correctly , I will try again
I only want a certain portion of my page to be scrollable and the rest to be fixed . Now that scrollable portion is placed inside a <DIV> tag . The problem is that if I do not specify the height attribute for the <DIV> tag , then the whole page becomes scrollable , which I do not desire . If I hardcode the height , say 75% , then only the <DIV> contents are scrollable , which is the desired behaviour . I do not want to hardcode the height attribute though .
Can you explain why is this happening.