473,401 Members | 2,127 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,401 software developers and data experts.

making a scroll bar

hi am making a webpage for a client that has a lot of text on thier
site, i have a photoshop template that i created and i want the text
to fit in a small part of template, can anybody point me in the
direction of a quick scroll bar that doesnt have any bells and
whisltes, thanks for the help

Feb 28 '07 #1
6 1672
isaac2004 said the following on 2/28/2007 12:02 AM:
hi am making a webpage for a client that has a lot of text on thier
site, i have a photoshop template that i created and i want the text
to fit in a small part of template, can anybody point me in the
direction of a quick scroll bar that doesnt have any bells and
whisltes, thanks for the help
Maybe you have heard of this new phenomenon in the world of web design
called CSS? overflow: scroll

comp.infosystems.www.authoring.stylesheets

<div style="overflow:scroll;width:200px;height:200px">
Some very long content here that you would need enough
to cause more than 200 pixels square to be required to
display it. After doing that, save your file and view
it in a browser. The results might surprise you. You might
also want to be honest enough with your clients to tell
them that they need a new web author as the one they
currently have is incapable of the job.
</div>

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 28 '07 #2
wow i am a newb, thanks though

Feb 28 '07 #3
Hi Randy,

"Randy Webb" <Hi************@aol.comwrote in message
news:cK********************@telcove.net...
Maybe you have heard of this new phenomenon in the world of web design
called CSS? overflow: scroll
Do you have a web reference somewher that has the latest tag-options with a
description of each? I am a newbie too and have been looking up the list on
the w3schools website and couldn't see anything about "overflow" options. My
sarcasm meter says you were inferring that this was not a new option so a
pointer to the latest and greatest docs would be much appreciated.

But while I'm here; how do you get rid of the bottom scroll bar?

Regards Richard Maher

PS. Also, an an exception thrown by a Java applet method be caught by a
Javascript try/catch?

"Randy Webb" <Hi************@aol.comwrote in message
news:cK********************@telcove.net...
isaac2004 said the following on 2/28/2007 12:02 AM:
hi am making a webpage for a client that has a lot of text on thier
site, i have a photoshop template that i created and i want the text
to fit in a small part of template, can anybody point me in the
direction of a quick scroll bar that doesnt have any bells and
whisltes, thanks for the help

Maybe you have heard of this new phenomenon in the world of web design
called CSS? overflow: scroll

comp.infosystems.www.authoring.stylesheets

<div style="overflow:scroll;width:200px;height:200px">
Some very long content here that you would need enough
to cause more than 200 pixels square to be required to
display it. After doing that, save your file and view
it in a browser. The results might surprise you. You might
also want to be honest enough with your clients to tell
them that they need a new web author as the one they
currently have is incapable of the job.
</div>

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/
Feb 28 '07 #4
ASM
Richard Maher a écrit :
Hi Randy,

"Randy Webb" <Hi************@aol.comwrote in message
news:cK********************@telcove.net...
>Maybe you have heard of this new phenomenon in the world of web design
called CSS? overflow: scroll

Do you have a web reference somewher that has the latest tag-options with a
description of each?
Not the last but most used (CSS2) (1998) :
In french :
http://www.yoyodesign.org/doc/w3c/css2/indexlist.html
In English :
http://www.w3.org/TR/1998/REC-CSS2-1...indexlist.html
To put in favorites (and in a button in favorites bar)

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Feb 28 '07 #5
Richard Maher wrote:
Hi Randy,

"Randy Webb" <Hi************@aol.comwrote in message
news:cK********************@telcove.net...
>Maybe you have heard of this new phenomenon in the world of web
design called CSS? overflow: scroll

Do you have a web reference somewher that has the latest tag-options
with a description of each? I am a newbie too and have been looking
up the list on the w3schools website and couldn't see anything about
"overflow" options. My sarcasm meter says you were inferring that
this was not a new option so a pointer to the latest and greatest
docs would be much appreciated.
You have to look better, then:
http://www.w3schools.com/css/css_positioning.asp

>
But while I'm here; how do you get rid of the bottom scroll bar?
The scrollbars behaves differently in different browsers (unfortunately)
PS. Also, an an exception thrown by a Java applet method be caught by
a Javascript try/catch?
Not directly, no.

Catch the exception in java, and return the condition to your JS
in a controlled way.

--
Dag.
Feb 28 '07 #6
Richard Maher said the following on 2/28/2007 6:00 AM:
Hi Randy,

"Randy Webb" <Hi************@aol.comwrote in message
news:cK********************@telcove.net...
>Maybe you have heard of this new phenomenon in the world of web design
called CSS? overflow: scroll

Do you have a web reference somewher that has the latest tag-options with a
description of each?
<URL: http://www.w3.org/Style/CSS/although it is what I would call a
good reference for a beginner.
I am a newbie too and have been looking up the list on
the w3schools website and couldn't see anything about
"overflow" options.
I have never been a fan of the w3schools site either. I have taken the
JS test there several times to see if it has changed in quality and it
hasn't. It typically has between 4 and 8 incorrect answers out of 20
questions. So I am not sure if w3schools has a decent CSS side or not.
You could try asking in news:comp.infosystems.www.authoring.stylesheets
about a tutorial or reference page.
My sarcasm meter says you were inferring that this was not
a new option so a pointer to the latest and greatest docs
would be much appreciated.
Yes, it was extreme sarcasm. overflow: setting has been around for a
very long time. The sarcasm got injected by having a client and being
unable to come up with something as simple as a scrollbar.
But while I'm here; how do you get rid of the bottom scroll bar?
As has already been pointed out in another reply, it depends on the
browser and how it decides to handle scrollbars.
Regards Richard Maher

PS. Also, an an exception thrown by a Java applet method be caught by a
Javascript try/catch?
No, JS can only catch JS errors.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 28 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: slawek | last post by:
Hi i have following stylesheet: ..linklist { width: 100%; font-size: 75%; background: #EEEEEE; margin: 5px; height: 300px; overflow: auto;
5
by: MacKenzieMouse | last post by:
Is there an easy way to have the page scroll to the next button? When I populate a drop down list box, I have to use the arrow key or the mouse to scroll down. I would like for the page to be...
4
by: Marlene A. Roman | last post by:
Is there a way that when I show some fields below that don't fit in the screen, it automatically makes a scroll down event so the user doesn't have to scroll down the page by his own? Thanks in...
8
by: pmud | last post by:
Hi, I have 2 questions: 1. I have an editable data grid with 21 columns. I need to edit only 2 cloumns in this data grid. But when the grid is displayed in Edit mode, all the columns show long...
0
by: Greg | last post by:
I've made a datagrid multiline (for anyone interested, I used an adaptation of the code at http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp). This has introduced a very serious issue: the vertical...
1
by: davidr | last post by:
Hi, I am using Divs with CSS to setup a layout for a site. I am using the <Div>s and style sheets below. I want the TopMenu to go across the entire top of the browser. It does go across the...
6
by: frankenstein | last post by:
I've not seen any real sollutions to this yet. I found something similar on this forum but the posted sollutions didn't work. I would like to make a drag to scroll for my blog, using JS. So far I...
2
by: sdevgray | last post by:
Is it possible to make the scroll bar larger on a Combo Box ? The reason I want to do this is so it can be used on a touch screen. I have a list of names linked to the Combo Box, I want a large...
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: 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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.