Print Page | Close Window

Scrollbar

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=194
Printed Date: 23-November-2024 at 11:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Scrollbar
Posted By: lcameron
Subject: Scrollbar
Date Posted: 08-May-2006 at 1:06am
I am customising a ProductCart site that has quite long content pages and would like to install a scrollbar if possible to these content pages. I am new to .asp so if anyone has any tips?



Replies:
Posted By: netprofits
Date Posted: 17-May-2006 at 10:36pm

I'm not sure what kind of scroll bar you need. The browser itself should display a scroll bar that allows the user to scroll up and down to view the content if it goes beyond the bottom of the page.

If you only want the content to scroll within the page and leave the banner, navigation and footer staying in the same place, you could use a div tag around your content something like this:

<div style="border : solid 2px #000000; background : #ffffff; color : #000000; padding : 4px; width : 400px; height : 200px; overflow : auto; ">
Your content would go here
</div>

Change the various parameters as needed but the key items are width and height.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net