470,641 Members | 2,453 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

odd page on firsting loading

Hi
I have a page at:
http://p0c79.phpwebhosting.com/~p0c79/testbusiness.html

which opens as expected, but an identical page, (except for the text content
of the scrolling div:)
http://p0c79.phpwebhosting.com/~p0c7...business2.html
opens up with the content of the scrolling div spilling over the right side
of the screen. I have worked on this all day and I'm no further on in
understanding what the problem is. Validation brings up warnings about no
alt attribute in a lot of the images, I will get round to putting them in,
but I know this has nothing to do with this problem. It has to be something
about the actual text content in the scrolling div as everything else is
identical between the two pages.

I know the javascript links in the menu is bad, but I did this page before I
had read 1001 postings in this ng. about good and bad practise. I really
would like to know what is causing the second page to load in an odd way.

BTW - it rectifies itself if you resize the browser window a couple of
times!

the css stylesheet is:
http://p0c79.phpwebhosting.com/~p0c79/layout2.css

and the relevant bits are #contentcontainertypes and #contenttypes

I have the problem in IE6 and NN7, in Opera the scrolling div has no scroll,
it displays it all in a big div, but the problem above doesn't occur (don't
have any other browsers to test with)

big thanks if you can solve this mystery

David


Jul 20 '05 #1
5 4022
David Graham wrote:

I have a page at:
http://p0c79.phpwebhosting.com/~p0c79/testbusiness.html

which opens as expected, but an identical page, (except for the
text content of the scrolling div:)
http://p0c79.phpwebhosting.com/~p0c7...business2.html
opens up with the content of the scrolling div spilling over the
right side of the screen.
no scrolling div; otherwise wfm. Moz 1.3/Win 2k.
Validation brings up warnings about no alt attribute in a lot of
the images, I will get round to putting them in,
That would be nice.

After fixing the html (alt, type, etc), check your css for errors.

http://jigsaw.w3.org/css-validator/v...2&profile=css2

See if that cures anything that ails you. The first error looks
related to the problem you see.
I know the javascript links in the menu is bad,


Only if they don't work w/out js. Do they?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2

"Dave Patton" <dp*****@remove-for-nospam.confluence.org> wrote in message
news:Xn******************************@24.71.223.15 9...
"David Graham" <da************@ntlworld.com> wrote in
news:l8*****************@newsfep2-gui.server.ntli.net:
Hi
I have a page at:
http://p0c79.phpwebhosting.com/~p0c79/testbusiness.html

which opens as expected, but an identical page, (except for the text
content of the scrolling div:)
http://p0c79.phpwebhosting.com/~p0c7...business2.html
opens up with the content of the scrolling div spilling over the right
side of the screen.


On my PC, using Mozilla 1.3 - both pages look "the same", but the
div doesn't have a scrollbar - only the page does.

On my PC, using IE 6 - both pages look "the same", and the
div does scroll, as well as the page.

On all four pages, in the 'footer', the 'copyright line' below
your name & email address is cut off - the lower half of the
line isn't visible in my browser's viewport, whether or not
I disable toolbars, or switch to full-screen mode.

--
Dave Patton
Canadian Coordinator, the Degree Confluence Project
http://www.confluence.org dpatton at confluence dot org
My website: http://members.shaw.ca/davepatton/
Vancouver/Whistler - host of the 2010 Winter Olympics


Thanks for that. I have the footer at the bottom of the viewport if the
document canvas is shorter than the viewport, or at the bottom of the canvas
if the canvas is longer than the viewport. I got the technique from:
http://scott.sauyet.name/CSS/Demo/FooterDemo1.html

I have not had a report such as yours before. Is there anything unusual with
your setup. What is the dimensions of your viewport (but shouldn't make any
difference). Do you have any way of correcting the problem? Do you have
access to IE5, I know this browser can bulk a bit on CSS layouts etc - I
need to know how it looks in this browser.

thanks
David

David




Jul 20 '05 #3
David Graham wrote:
The lines which are complained about are for colouring my scrollbars. I like
the appearance of my scrollbars - I don't want to take them out.


So you're doing this just for yourself and not for the web? Otherwise, I
like the appearance of _my_ scrollbars, and I don't want you to change
it. Put the scrollbar stuff into your user stylesheet.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)

Jul 20 '05 #4
"David Graham" <da************@ntlworld.com> wrote in
news:hJ*****************@newsfep2-gui.server.ntli.net:
Thanks for that. I have the footer at the bottom of the viewport if
the document canvas is shorter than the viewport, or at the bottom of
the canvas if the canvas is longer than the viewport. I got the
technique from: http://scott.sauyet.name/CSS/Demo/FooterDemo1.html


That page doesn't do what is intended(keep the footer visible)
on either Mozilla 1.3 or IE 6 on my PC.

--
Dave Patton
Canadian Coordinator, the Degree Confluence Project
http://www.confluence.org dpatton at confluence dot org
My website: http://members.shaw.ca/davepatton/
Vancouver/Whistler - host of the 2010 Winter Olympics
Jul 20 '05 #5
David,

Have you ever resolved this issue? I'm having the same issue right now in my version of a scrolling div. On the first page load (after clearing the cache) in Mozilla it'll spill to the right but if I refresh it'll size correctly (my guess is because it's using the cached version since the images refresh instantly as opposed to a new hit which causes it to pause while the scroll spills).

Thanks,
Apr 27 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Patrick Olurotimi Ige | last post: by
7 posts views Thread by UJ | last post: by
1 post views Thread by John Smith | last post: by
4 posts views Thread by Tim | last post: by
3 posts views Thread by The alMIGHTY N | last post: by
1 post views Thread by Korara | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.