473,508 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

content shifts when extending below view

For a page that display's a catalogue of items in table format. If
the number of rows extends below the view, in some browsers (safari,
firefox) the page shifts to the left a little bit. It's noticeable
when the user clicks back and forth between two similar pages with a
common header. One page whose rows all fit in the view and another
page with identical markup and a greater number of rows. The user is
always free to use the browser scroll bar to view the hidden rows.
What is the generally preferred way to handle this? Would it be
better to split the page in two so that they both fit within view and
provide the links between the two. This would give a more anchored
look to the content that is common to both.
Feb 24 '08 #1
2 2170
skijor wrote:
For a page that display's a catalogue of items in table format. If
the number of rows extends below the view, in some browsers (safari,
firefox) the page shifts to the left a little bit. It's noticeable
when the user clicks back and forth between two similar pages with a
common header. One page whose rows all fit in the view and another
page with identical markup and a greater number of rows.
Gazing into my crystal ball I would say the cause is that the contents
of the page has been centered and when the contents extends below the
viewport browsers Firefox and Safari display a vertical scrollbar which
when introduced shifts the center of the page to the left thereby
shifting the contents. IE always shows a vertical scrollbar whether on
not it is needed so you see no shift.
The user is
always free to use the browser scroll bar to view the hidden rows.
What is the generally preferred way to handle this? Would it be
better to split the page in two so that they both fit within view and
provide the links between the two. This would give a more anchored
look to the content that is common to both.
Well you are overlooking something very fundamental about the web. How
do you know what will fit in my browser window? You don't and you
cannot. So stop trying. You should break up pages in to digestible
chunks so that you don't have the infamous "Scroll-O-Death" pages. But
there are a couple of things to do.

Don't feel the need to "center" your page then it won't shift when a
scroll bar appears.

Don't make a page with fixed width and pixel placed elements then the
page will morph to fill the available space and shifting won't matter.

Lastly, do nothing. Who cares if the page slightly shifts when you
change pages. Most people are not going to flip back and forth just to
say, "Hey the page moves!"

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Feb 24 '08 #2
Gazing into my crystal ball I would say the cause is that the contents
of the page has been centered and when the contents extends below the
viewport
yup
Well you are overlooking something very fundamental about the web. How
do you know what will fit in my browser window? You don't and you
cannot. So stop trying.
ok
Don't make a page with fixed width and pixel placed elements then the
page will morph to fill the available space and shifting won't matter.
i like this
Lastly, do nothing. Who cares if the page slightly shifts when you
change pages. Most people are not going to flip back and forth just to
say, "Hey the page moves!"
i know but it bothers me.

Feb 24 '08 #3

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

Similar topics

12
2375
by: R | last post by:
Hello everybody. I'm writing my own Content System in PHP5. I've written so far main classes for handling DB connections, XML, XForms and Sessions. But I've got problem with one thing - it's...
19
4222
by: Ross A. Finlayson | last post by:
Hi, I hope you can help me understand the varargs facility. Say I am programming in ISO C including stdarg.h and I declare a function as so: void log_printf(const char* logfilename, const...
4
4952
by: Dave | last post by:
Hello - Say I have a 32 bit value in data (v:4, r:4, l:8, p:16) unsigned char data; Now, for portabilities sake, I want to use shifts and masks to access these fields, instead of accessing...
9
5768
by: Fat Elvis | last post by:
I'd like to extend some of my Asp.net pages by using Partial Classes. Example ASP.Net Page: public partial class Admin_Customer : System.Web.UI.Page { protected void Page_Load(object sender,...
1
2538
by: Eniac0 | last post by:
Hello, ive been recently appointed to transforming our table-full site into a nice accessible and table-free website. to make the story short, everything was going rather smoothly until i got...
8
13498
by: Amit | last post by:
I have a master page and a content page but the stylesheet isnt getting applied like how it looks in visual studio design view. The master page is defined like this: <%@ Master Language="VB"...
15
1762
by: Christopher Layne | last post by:
So I recently ran into a situation where I invoked UB without specifically knowing I did it. Yes, human, I know. What exactly is/was the rationale for not allowing shifts to be the same width of...
3
2096
by: MikeB | last post by:
Hello, I have a content page that is from a Master page which has 2 content panes. How do I add my forms to the content page? Each pane needs a form but you can not have multiple form tags nor...
5
10323
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a VS 2008 ASP.NET webform that has a reportview tag on it, accessing an .RLDC report in local report. The columns for the report are essentially: Month Item #1 Item#2 Item#3 ...
0
7228
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
7128
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
7393
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...
1
5057
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...
0
3206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3191
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.