Hi All,
I am not a website designer. I am actually a bonafide amateur when it comes to building websites. This is what I am trying to
do. I want to freeze a specific section of my website. When visitors to my website scroll down the webpage, I only want the
material in the "main content" section of the page to move. An example of this functionality is captured in the page below:
On my website, www.radiocremebrulee.com, I want to freeze the menu, the image above it, and the main header image. I only
want the content section to scroll. I am aware that the "position:fixed" tag should work. I have read a lot about it online but for
some odd reason, I am unable to find instructions on what specific actions I need to take for my situation. My questions are:
a. What changes need to be made in the index.html file?
b. What changes need to made in the style.css file?
I do not want to spend more time on this than I already have. If any of you have a quick solution to this issue, please do let me know.
I really want to get this working at the earliest possible. Thanks in advance.
Regards,
Pranav
|