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

Eliminating horizontal scrollbar

On the following page, a horizontal scrollbar is displayed (in both IE6
and Firefox 0.9, under Windows), no matter what the window size is. I
can't find the settings in my css file that cause this.

Can anyone explain why I still see a horizontal scrollbar and how I can
get rid of it?

URL: <http://campuslaan37.student.utwente.nl/hsu/>
CSS: <http://campuslaan37.student.utwente.nl/hsu/style.css>

Thanks,

--
Daan
Jul 20 '05 #1
3 14106
Daan wrote on 02 sep 2004 in comp.infosystems.www.authoring.stylesheets:
On the following page, a horizontal scrollbar is displayed (in both IE6
and Firefox 0.9, under Windows), no matter what the window size is. I
can't find the settings in my css file that cause this.

Can anyone explain why I still see a horizontal scrollbar and how I can
get rid of it?

URL: <http://campuslaan37.student.utwente.nl/hsu/>
CSS: <http://campuslaan37.student.utwente.nl/hsu/style.css>


Gewoon even uitproberen, Daan:

Remove the width:100%; from the #header style
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 20 '05 #2
Daan <d_*****@nospamhotmail.com> writes:
Can anyone explain why I still see a horizontal scrollbar and how I
can get rid of it?


#header has 100% width declared + a total of 1em horizontal padding.

The scrollbar appears due to the padding (or the width, whichever way
you prefer to see it :).
--

Più Cabernet,
meno Internet.
Jul 20 '05 #3
On Thu, 02 Sep 2004 16:09:46 +0200, Daan <d_*****@nospamhotmail.com>
wrote:
Can anyone explain why I still see a horizontal scrollbar and how I can
get rid of it? URL: <http://campuslaan37.student.utwente.nl/hsu/>
CSS: <http://campuslaan37.student.utwente.nl/hsu/style.css>


#header {
...
width: 100%;
...
padding: 0.5em;
...
}

Your <div id="header">...</div> element is always wider than 100%.

Effectively it's (0.5em + 100% + 0.5em) wide and that will always be
wider than the browser window, regardless of what you adjust it to be.

You may have the same problem in other elements too, I just did not look
for it.

--
Rex
Jul 20 '05 #4

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

Similar topics

1
by: Pal Csepregi | last post by:
Hi can i remove somehow the horizontal scrollbar? just the horizontal! Thx PallR
5
by: Jsp | last post by:
I created a vertically scrolling div. On initial rendering, Firefox shows a horizontal scrollbar in this div, over the complete width. Resizing the width of the window/viewport makes the horizontal...
4
by: anna | last post by:
How to tell if a horizontal scrollbar is present? I only want to use scrollTo if horizontal scrollbar is present. window.scrollbars.visibility doesn't specify which scrollbar is present, so it...
1
by: Marco Liedekerken | last post by:
Hi, I want a Horizontal scrollbar to appear in my Panel control when I add new controls to it (when the width is getting too big). The Vertical scrollbar is easy (adding overflow: auto to the...
1
by: dhnriverside | last post by:
Hi guys I'm using a div to create a list with ajax stuff. At the moment, the div shows a scrollbar if the content is larger than the div. The problem is that if it isnt, the scrollbar...
4
by: Sakharam Phapale | last post by:
Hi All, I have installed VS .NET 2002 on my machine. I have checked both Vertical scrollbar and Horizontal Scrollbar options, in Tools -> Options-> Text Editor-> General-> Vertical Scrollbar...
14
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3 frames. (Please no diskussion about the sense of...
1
by: malpani.abhijit | last post by:
Hi, I am having a ListView component in my WinForm, when i add some images into it, it gives me a vertical scroll bar. What i want is, the horizontal scrollbar instead of vertical. Is there any...
3
by: j0rd4n | last post by:
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to...
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: 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,...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.