473,386 Members | 1,842 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,386 software developers and data experts.

scroll bar which scrolls only content

pradeepjain
563 512MB
Hii,
I have a 3 column layout for which base i have taken is
http://www.cssplay.co.uk/layouts/3cols.html

how to make the browser scroll bar scroll the #center content only ? we can get rid of the right sidebar also if it is effecting it.
Is there any example which i can see and learn.
May 25 '09 #1
4 3186
Ciary
247 Expert 100+
thats not really a php based question. its more html/css based.
the trick is to set the position on both sidebars absolute and fixed.
May 25 '09 #2
Markus
6,050 Expert 4TB
Set the height of the content area, and then use overflow: auto.

Expand|Select|Wrap|Line Numbers
  1. #center-content {
  2.     height: 500px;
  3.     overflow: auto;
  4. }
  5.  
Pradeep, please post questions in the relevant forum. I have moved this post to the HTML and CSS forum.
May 25 '09 #3
pradeepjain
563 512MB
Really sorry for the error!by mistake i posted in PHP area.
May 26 '09 #4
pradeepjain
563 512MB
actually i tried it out . The problem is the after the content area there is no right sidebar and there is 50 px padding on right after content area to the browser scroll bars.
when i say overflow auto for the content area the scroll bars are getting attached to the content area itself directly!

I want the scroll bar of the browser move the content area content
May 26 '09 #5

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

Similar topics

4
by: Mad Scientist Jr | last post by:
I have a textbox that i am adding to (in codebehind of ASP.NET) and need to ensure that the focus is scrolled to the bottom of the textbox each time the page refreshes, and then set focus to a 2nd...
1
by: nicholas | last post by:
Hi, If on an asp.net page the user has just selected a value in a dropdownlist and scrolls with the wheel of his mouse, the selected value of the dropdownlist will change. How could I avoid...
2
by: Lance | last post by:
I need to know when the user scrolls a Windows.Forms.Panel either by using one of the scroll buttons or by using one of the scrollbars. Are there any events or overridable methods that can be...
1
by: edi sol | last post by:
Hi, I am writing a hex edit control from a UserControl. I use drawtext method of the graphics object in the OnPaint. When the text which I draw go out of the visible rectangle of the control I...
14
by: effendi | last post by:
Is it possible for me to disable the wheel scroll in a mouse when user click on a drop-down list? Thanks
1
by: =?Utf-8?B?Um9iZXJ0Vw==?= | last post by:
Hi, I'm developing a WPF Web Application. I'm surprised there were no WPF-specific newsgroups, so I'm posting in dotnet-general. I implemented the TreeListView available with sample code at...
0
by: Msleh08 | last post by:
Hello. I have slight issue. I have been just seeing what java can do. The code below shows a basic html text file with a highlighted bar that scrolls over each <tr>. If you notice, when you scroll...
2
by: Msleh08 | last post by:
Hello. The code below shows a basic html text file with a highlighted bar that scrolls over each <tr> using your up/down arrow. If you notice, when you scroll using your up/down arrow the page jerks....
3
by: PrabodhanP | last post by:
I have CSS based mouseover scrolling for divContent embeded in my webpage.It works fine in IE,but not working in mozilla-FF. It is located at the location.....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.