14 replies [Last post]
sionvalais
Offline
Regular
Last seen: 19 years 42 weeks ago
Joined: 2003-06-06
Posts: 49
Points: 0

I tried to make a page with 3 colums in the center , but it is not working in netscape.
does anyone know what is wrong?

http://www.sionvalais.com/achensee.php

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

3 cols in the center

Hi Sonvalis,
Without seeing the source and css or having a detailed explaination of whats not working we can't really help.

Why not make a copy of a page, without the javascript that deny's access to the source.

I for one, wont waste my time trying to get any further. :roll:

sionvalais
Offline
Regular
Last seen: 19 years 42 weeks ago
Joined: 2003-06-06
Posts: 49
Points: 0

3 cols in the center

I removed the source protection. Sorry about that!
The problem is that in netscape all colums (3 of them) overlap in the left side of the website. It is not possible for me to get the normal layout; 3 colums in the center.
please tell me what I am doing wrong.

thnx,
mark

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

3 cols in the center

Hi Mark,
Thanks for removing the security,
I'll have a look and get back as soon as possible.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

3 cols in the center

Back again,
I'm at work so can't look to closely Cool
The first thing I would try is to give #sionvalais a little extra width.
Netscape seems to like some extra space when floating. Try:
#sionvalais {width:850px;...}
And let me know how it goes.

sionvalais
Offline
Regular
Last seen: 19 years 42 weeks ago
Joined: 2003-06-06
Posts: 49
Points: 0

3 cols in the center

Does not make a difference...

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

3 cols in the center

Hi Mark,
Your quick to put the security back on. Smile
If people want to see your source they bad enough they will get to it.

In your CSS file you should remove

Quote:
<style type="text/css">{ }
and
--> </STYLE>
They are not needed in external css files and will possibly cause problems in some browsers.

Your problem with Netscape is fixed if you add a valid doctype to the top of your file before the html tag eg.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

sionvalais
Offline
Regular
Last seen: 19 years 42 weeks ago
Joined: 2003-06-06
Posts: 49
Points: 0

3 cols in the center

That's it! GREAT Laughing out loud
cheers

mark

sionvalais
Offline
Regular
Last seen: 19 years 42 weeks ago
Joined: 2003-06-06
Posts: 49
Points: 0

3 cols in the center

BTW why do the colored scrollbars disappear?

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 7 years 8 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

3 cols in the center

'cos they're not proper CSS, just something that works in later versions of IE. Apparently declaring a proper doctype removes their functionality from IE...

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

Anonymous
Anonymous's picture
Guru

3 cols in the center

Actually, they go away with an xhtml declaration.

Bring them back by putting them inside

html, body {
scrollbar stuff here;
}

lizo
lizo's picture
Offline
Enthusiast
Leicester, England
Last seen: 20 years 2 days ago
Leicester, England
Joined: 2003-03-30
Posts: 51
Points: 0

3 cols in the center

Just to let people know, its impossible to disable view source.

If you type in
view-source:
before the web domain it will open up the default html editor with the source in it. This should work, for some reason it doesnt work at school where I am now :? .

http//www.colormixer.tk
http//www.colourmixer.tk

lizo
lizo's picture
Offline
Enthusiast
Leicester, England
Last seen: 20 years 2 days ago
Leicester, England
Joined: 2003-03-30
Posts: 51
Points: 0

3 cols in the center

Ahah it doesnt work at school because the admin has disabled it :roll: .

http//www.colormixer.tk
http//www.colourmixer.tk

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 7 years 8 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

3 cols in the center

Just checked out that 'security'. (if you read this again, I'm the dera.gov person!)

Personally I find things like that immensly irritating, since the quickest way I've found of going back through pages is to right-click and select back; the back button on the browser is just far too far away. Or maybe I'm lazy.

As for viewing source... in IE, selecting View->Source will let you see it, so it doesn't stop people looking at it anyway! I once had something similar then realised that there was no point, and removed it. Like lizo said, if someone's that desperate they'll always find a way around.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 2 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

3 cols in the center

Disabling JavaScript allows you to view the source in most browsers, that is if JavaScript was used to protect it as it was in this case.
But the point is that if you expect some help make it easy on us. Cool