HighDots Forums  

odd page on firsting loading

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss odd page on firsting loading in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Graham
 
Posts: n/a

Default odd page on firsting loading - 07-07-2003 , 02:33 PM






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/~p0c79/testbusiness2.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





Reply With Quote
  #2  
Old   
Brian
 
Posts: n/a

Default Re: odd page on firsting loading - 07-07-2003 , 05:10 PM






David Graham wrote:
Quote:
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/~p0c79/testbusiness2.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.

Quote:
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/validator?uri=http://p0c79.phpwebhosting.com/~p0c79/testbusiness2.html&warning=2&profile=css2

See if that cures anything that ails you. The first error looks
related to the problem you see.

Quote:
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



Reply With Quote
  #3  
Old   
David Graham
 
Posts: n/a

Default Re: odd page on firsting loading - 07-08-2003 , 03:44 AM




"Dave Patton" <dpatton (AT) remove-for-nospam (DOT) confluence.org> wrote

Quote:
"David Graham" <david.graham16 (AT) ntlworld (DOT) com> wrote in
news:l8jOa.582$s61.76138 (AT) newsfep2-gui (DOT) 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/~p0c79/testbusiness2.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












Reply With Quote
  #4  
Old   
Johannes Koch
 
Posts: n/a

Default Re: odd page on firsting loading - 07-08-2003 , 04:16 AM



David Graham wrote:
Quote:
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.)



Reply With Quote
  #5  
Old   
Dave Patton
 
Posts: n/a

Default Re: odd page on firsting loading - 07-08-2003 , 02:26 PM



"David Graham" <david.graham16 (AT) ntlworld (DOT) com> wrote in
news:hJuOa.215$C27.11552 (AT) newsfep2-gui (DOT) server.ntli.net:

Quote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.