17 replies [Last post]
mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

Would someone please have a look at
http://www.kamloopsnews.ca/test/modern.html
and tell me why the content is pushed down?

It seems to want to center vertically if there isn't much text, as with this page.

mwr

Anonymous
Anonymous's picture
Guru

content pushed down

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

Page now validates.

Problem seems to exist in IE6 and IE5 Mac.

mwr

Anonymous
Anonymous's picture
Guru

content pushed down

mwr wrote:
Page now validates.
... and surprise, surprise, the content moves up.

Well, the page almost validates

Quote:
This Page Is Tentatively Valid XHTML 1.0 Strict

Anyway, there you have it. Now all you have to do is get rid of the tables for layout and you'll have something there. Smile

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

Did you test it in IE6?

Anonymous
Anonymous's picture
Guru

content pushed down

mwr wrote:
Did you test it in IE6?
Nope.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 17 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

content pushed down

Did you? looks exactly the same in IE6 as Firefox.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Anonymous
Anonymous's picture
Guru

content pushed down

Validation saves the day! Woo Hoo!!! \:D/

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

I don't have access to IE6 during the weekend, but I find the content is still being pushed down in Firefox 1.0.6 (Mac). Maybe they don't like the table.

Anonymous
Anonymous's picture
Guru

content pushed down

mwr wrote:
I don't have access to IE6 during the weekend, but I find the content is still being pushed down in Firefox 1.0.6 (Mac).
Just checked it in FF/Mac (v1.0.6) and it looks like it does in Safari with the content aligned beside the day.

mwr wrote:
Maybe they don't like the table.
I don't like it much myself.

http://www.hotdesign.com/seybold/index.html

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

The sidebar, the logo and the middle content should all be about half an inch higher. The only thing that looks right are the ads in the section on the right. You could try http://www.kamloopsnews.ca/test/index.html or news.html to see what I mean.

As an experiment, I at one time put more text in the middle section of modern.html, and it seemed to push everything up to where it should be.

I'm with you on tables. This is a compromise for people with older browsers. Stats show we still get them in the hundreds at our website.

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

I made a submission to browsershots.org and got these results:

http://browsershots.org/website/487941/

Firefox 1.0.4 and MSIE 6.0 display wrong. Safari 2.0 displays right.

Anonymous
Anonymous's picture
Guru

content pushed down

mwr wrote:
The sidebar, the logo and the middle content should all be about half an inch higher.
Before you validated the text "Modern Browsers" was down beside the "Services" menu item.

mwr wrote:
This is a compromise for people with older browsers. Stats show we still get them in the hundreds at our website.
You want to compromise for people that use older browsers at the expense of people that use newer ones? That just doesn't make much sense to me.

How many IE3 hits do you get?

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

Looks like I found a solution, but I'll probably get drummed out of the forum for it: two tables instead of one.

I might try to create an all-CSS solution that works in Navigator 4, but today is not the day.

Thanks for your help and patience.

Anonymous
Anonymous's picture
Guru

content pushed down

I swear, one of these days I will refuse help until the tables are deleted. ONE OF THESE DAYS!!! :twisted:

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 30 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

content pushed down

mwr wrote:
I might try to create an all-CSS solution that works in Navigator 4, but today is not the day.

I wouldn't waste my time bothering about NS4.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

mwr
Offline
Regular
Canada
Last seen: 13 years 16 weeks ago
Canada
Joined: 2005-10-29
Posts: 17
Points: 0

content pushed down

Actually, I went ahead and did it anyway. It's a little buggy in NS4 when your resize a window, but there are no tables and none of the strangeness associated with them.

Here's my theory about Netscape 4 people: they simply can't afford to upgrade from an ancient computer, they haven't a clue about how to upgrade, or their unenlightened employer has stuck them with it. In any case, I kinda feel sorry for them.

On the other hand, they're no doubt used to seeing lots of websites displaying poorly, so any quirkiness at our website will seem like par for the course to them.

Anonymous
Anonymous's picture
Guru

content pushed down

mwr wrote:
Actually, I went ahead and did it anyway. It's a little buggy in NS4 when your resize a window, but there are no tables and none of the strangeness associated with them.
Well, post it and let's have a look.