473,385 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Window Scroll Bar Help ????

Chrisjc
375 256MB
I would like to make a scroll bar in a CELL is that possiable??? If so I don't know the coding or how to come about this any ideas??? I can't use an Iframe I was going to how ever I couldnt get my DIV to open in the Iframe... all my DIV's have to stay on the same page of coding unless once again anyone has any idea how to come about this???

But there has to be a way to get a SCROLLING CELL right?????

Thanks in Advanced!!

Chris
Nov 21 '06 #1
8 3150
drhowarddrfine
7,435 Expert 4TB
In the css for the div, add overflow:auto;
Nov 21 '06 #2
AricC
1,892 Expert 1GB
Here is an example if your stuck:

[html]<div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 50px; overflow : auto; ">
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
</div>[/html]
Nov 21 '06 #3
Chrisjc
375 256MB
That worked out GRATE thank you very much!
Nov 21 '06 #4
AricC
1,892 Expert 1GB
Your welcome! If you have more questions post them there are several people here more than willing to help.
Nov 22 '06 #5
Chrisjc
375 256MB
Your welcome! If you have more questions post them there are several people here more than willing to help.

Well everything was working fine until I put it in my final work... and now.. it only displays a few things... when I have it with Height and width it messes up... for ( overflow:auto; ) and if I just take it out.. it fills up fine how ever I need that scroll bar... to be there..

Here is an example of what I mean

http://www.afefilters.com/IntakeSytemstest.php

go there that is the page. I currently have overflow:auto; OFF

now make these selections...

FUEL = DIESEL
MAKE = CHEVROLET
MODEL = SILVERADO 2500 HD
YEAR = 2001
ENGINE = V8
LITER = 6.6

After making those selections to your right you will get the part number and description... you will see NINE notice how it cuts into my bar though.

If I but OVERFLOW:AUTO; ON it will display FOUR!!! on the same selection....

and if I take the width and Height off it will give me my scroll bar... but it will be a box by 1px by 1px I don't understand is there another OVERFLOW I can give it? like OVERFLOW SCROLL something like that??

Thanks for the help

Chris
Nov 27 '06 #6
Chrisjc
375 256MB
Well everything was working fine until I put it in my final work... and now.. it only displays a few things... when I have it with Height and width it messes up... for ( overflow:auto; ) and if I just take it out.. it fills up fine how ever I need that scroll bar... to be there..

Here is an example of what I mean

http://www.afefilters.com/IntakeSytemstest.php

go there that is the page. I currently have overflow:auto; OFF

now make these selections...

FUEL = DIESEL
MAKE = CHEVROLET
MODEL = SILVERADO 2500 HD
YEAR = 2001
ENGINE = V8
LITER = 6.6

After making those selections to your right you will get the part number and description... you will see NINE notice how it cuts into my bar though.

If I but OVERFLOW:AUTO; ON it will display FOUR!!! on the same selection....

and if I take the width and Height off it will give me my scroll bar... but it will be a box by 1px by 1px I don't understand is there another OVERFLOW I can give it? like OVERFLOW SCROLL something like that??

Thanks for the help

Chris
FOUND SOMETHING Interesting...

if you do everything I said above... I now have overflow:auto; ON

You will only get four from the selection I had told you to pick... NOW

Lets do a new selection...

FUEL = DIESEL
MAKE = FORD
MODEL = F-250 SUPER DUTY PICKUP
YEAR = 2004
ENGINE = V8
LITER = 6.0

Now look how grate overflow AUTO works... why is this????

There should be ten being displayed for the Chevy.... any ideas???? why this is?
Nov 27 '06 #7
AricC
1,892 Expert 1GB
Here are the values you can give to overflow: (visible;hidden;scroll;auto)I did both of the selections neither of them looked like they weren't working correctly ( in IE 6 ) maybe a screen shot would help or something.
Nov 27 '06 #8
Chrisjc
375 256MB
Here are the values you can give to overflow: (visible;hidden;scroll;auto)I did both of the selections neither of them looked like they weren't working correctly ( in IE 6 ) maybe a screen shot would help or something.

Well it was non of those it ended up being my fault I had ( position:absolute; ) in the DIV... so there for it was trying to display by that setting be getting rid of position:absolute; it will read the overflow setting just fine!!

Thanks
Nov 27 '06 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: abs | last post by:
How to detect that user started to scroll the page ? Separately vertical and horizontal scroll. Is it possible ? Regards, ABS
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
2
by: Ken Williams | last post by:
Hi can anyone point me to some sample source code for a scrolling window. What I want is a text window that monitors incoming data continuously, so it has to hold say a couple of hundred lines...
2
by: Sachin | last post by:
To display the vertical scroll bar of any control (Print Preview Control in perticular)which window message is set? pls guide -- sachin
3
by: Steve | last post by:
I want to force a window to scroll and am finding this to be an impossibly difficult task. First I tried using the API functions ScrollWindow and ScrollWindowEx but they do not work. The portion...
2
by: usenet | last post by:
When I open a form design window in Access 2003 it *always* has scroll bars, this is even when the form itself is tiny. It's as if the 'page' on which the form is being designed is very large. ...
3
by: superjacent | last post by:
Hope someone can help. I have a listbox displaying time periods in blocks of 15 mins for a 24 hour period, all up 96 rows. The listbox can only visibly show 20 rows a time. The default...
2
by: sachjn | last post by:
Hi, I need to have a table along with other UI items in page which resizes horizontally and vertically with the browser window. That means table should accoupy the remaining available space in...
6
by: Frank Rizzo | last post by:
I am using the Immediate Window a lot to see the progress of the application. In VS2003, if your cursor was at the very bottom, the window would scroll down whenever something new showed up. If...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.