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

Kill scroll bars

Hello all,

I've been trying for quite some time to eliminate scrollbars on my latest site;
I'd be perfectly happy if only the horizontal one would go away, actually.

FF and Opera have horiz. scrollbars at 1280x1024.

IE has none, yet "We've been pared down to a four piece ...." runs off the edge
of the page, and cannot be read in it's entirety. Same with the paragraphs
below it in the same <div>.

Any help greatly appreciated.

http://thedings.servebeer.com

css:

http://thedings.servebeer.com/dingstyle.css

--
Lester
Dec 10 '05 #1
6 2788
Lester L. wrote:
Hello all,

I've been trying for quite some time to eliminate scrollbars on
my latest site; I'd be perfectly happy if only the horizontal
one would go away, actually.

FF and Opera have horiz. scrollbars at 1280x1024.

IE has none, yet "We've been pared down to a four piece ...."
runs off the edge of the page, and cannot be read in it's
entirety. Same with the paragraphs below it in the same <div>.

Any help greatly appreciated.
Might want to look at it at some other viewport sizes.

Here's 800x600 on my laptop (FF):

http://blinkynet.net/stuff/dings.jpg
http://thedings.servebeer.com

--
Blinky
Killing all Google Groups posts.
http://blinkynet.net/comp/uip5.html
Dec 10 '05 #2
Lester L. wrote:

I've been trying for quite some time to eliminate scrollbars on my latest site;
I'd be perfectly happy if only the horizontal one would go away, actually.

http://thedings.servebeer.com


I'm not quite sure how you think it should render, but no matter.

I'm pretty sure part of your problem is your use of position:relative
with the top/left/whatever offsets you set. A lot of folks seem to thing
relative positioning is some flavor of absolute positioning. It isn't.

Why don't you do a mockup of what you are trying to achieve? Then maybe
we can make some suggestions for ways to do it properly.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Dec 10 '05 #3
On Sat, 10 Dec 2005 12:25:51 -0600, kchayka <us****@c-net.us> wrote:

|Lester L. wrote:
|>
|> I've been trying for quite some time to eliminate scrollbars on my latest site;
|> I'd be perfectly happy if only the horizontal one would go away, actually.
|>
|> http://thedings.servebeer.com
|
|I'm not quite sure how you think it should render, but no matter.
|
|I'm pretty sure part of your problem is your use of position:relative
|with the top/left/whatever offsets you set. A lot of folks seem to thing
|relative positioning is some flavor of absolute positioning. It isn't.
|
|Why don't you do a mockup of what you are trying to achieve? Then maybe
|we can make some suggestions for ways to do it properly.

I'm prefectly happy with the way it looks on Blinky's lappy at 800x600, with the
exception of the horizontal scroll bar. When you scroll down in FF and Opera,
you'll not see text going off the right side of page, yet the scroll bar is
there. Then there is IE which lets the text run off the page, with no
Horizontal scroll bar.

Perhaps the way the link colors blend in with blue Dings logo bug me too. I
think I'll make a bgcolor for hovered-over links , then I'll be satisfied there.

My goal with relative positioning was to have elements evenly spaced across the
page in a variety of screen sizes.

Thanks for your insights, still don't get why the probs width-wise. Ctrl+A
shows nothing off to the right, why scroll bar?
Dec 10 '05 #4
Lester L. wrote:
My goal with relative positioning was to have elements evenly spaced
across the page in a variety of screen sizes.
Use absolute positioning (with percentages) for that. Relative positioning
is pretty much useless for anything other then establishing containing
blocks for absolute positioning.
Thanks for your insights, still don't get why the probs width-wise.
Ctrl+A shows nothing off to the right, why scroll bar?


With block element outlining turned on:
http://dorward.me.uk/tmp/thedings.png
.... several elements extending beyond the window.

Relative positioning is not designed for what you are trying to use it for.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Dec 10 '05 #5
On Sat, 10 Dec 2005 19:11:12 +0000, David Dorward <do*****@yahoo.com> wrote:
|With block element outlining turned on:
|http://dorward.me.uk/tmp/thedings.png
|... several elements extending beyond the window.
|
|Relative positioning is not designed for what you are trying to use it for.

A-ha. That really clears things up. I've kludged it for know by setting
max-width for the grey text across the top to 95% and the blue "the Dings" to
the width of the image.

May I ask how you are able to view block element outlining?

Will look into describing all elements with absolute positioning soon.

Thank you all for the help.

--
Lester
Dec 10 '05 #6
Lester L. wrote:
May I ask how you are able to view block element outlining?


https://addons.mozilla.org/extension...info.php?id=60

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Dec 10 '05 #7

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

Similar topics

12
by: Arlie Rahn | last post by:
I would like to ad a custom scroll bar control to my app that has a customizable and "flat" look to it (not the normal VB look). Does anyone have any ideas on where to find a good one?
0
by: syed_saqib_ali | last post by:
Please take a look at and run the code snippet shown below. It creates a canvas with vertical & Horizontal scroll-bars. If you shrink the window to smaller than the area of the canvas, the...
4
by: justdummy | last post by:
Hi, I am struggling with a problem for sometimes. I need to display a table in a html and if the height of the table goes beyond 200 px then a vertical scrollbar should alone appear without any...
0
by: Eric | last post by:
I have a TableLayout that I'm having problems with. I am placing controls in it that have scroll bars. When I put enough of them on the control to make the TableLayout's scroll bars appear the...
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. ...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
3
by: zazu | last post by:
We have a database that can be accessed by a small number of users on a small network. The database is on the server. One form has a combo box with a large number of selections. Usually there is a...
1
by: David_from_Chicago | last post by:
I am developing an application in Access 2000 (A2K) which has multiple forms and subforms. Until now, all subforms displayed scroll bars properly (according to the subform's property setting). ...
6
by: bgold12 | last post by:
I was using quirks mode (without a doctype) and set the overflow CSS property to :auto for the body tag like so: <body style="overflow:auto"> And it worked; it got rid of IE's default scroll...
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
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.