What is wrong with my code?

Entity

Lifer
Oct 11, 1999
10,090
0
0
Is there a difference between the way linux and windows browsers render CSS? I'm having a hard time getting a page I just wrote up to work properly in konqueror and galeon under lx, even though both the css and the page pass w3c stuff.

The page: www.pcthike.com/newbiostat/

The page looks fine in IE6, but the top bar messes up in Galeon, and the whole "content" is misplaced in Konqueror.

Rob
 

Entity

Lifer
Oct 11, 1999
10,090
0
0
Nighttime bump before I head out for the night. Have a happy Thanksgiving all! :D

Rob
 

Yomicron

Golden Member
Mar 5, 2002
1,735
1
81
It looks fine in Mozilla, Opera, IE and even looks fine in Lynx. It doesn't look too good in Sun's Hot Java browser though.

I know next to nothing about HTML, so thats all the help I can give you.
 

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
Originally posted by: Entity
Is there a difference between the way linux and windows browsers render CSS? I'm having a hard time getting a page I just wrote up to work properly in konqueror and galeon under lx, even though both the css and the page pass w3c stuff.

The page: www.pcthike.com/newbiostat/

The page looks fine in IE6, but the top bar messes up in Galeon, and the whole "content" is misplaced in Konqueror.

Rob

now you know why IE6 is such a successful browser.
 

GagHalfrunt

Lifer
Apr 19, 2001
25,284
1,998
126
There's a difference in the way any browser renders anything. Even getting the Windows and Mac versions of the same browser to display something simple like font sizes correctly can be a real headache. No browser supports CSS behaviors exactly like any other browser, so even if your code is perfect and conforms to every standard and passes every compatability test in theory, in practice sometimes it'll come out looking like the underlying code isn't even related let alone identical. The only solution is to test extensively and make sure that everything degrades gracefully. It'll never look the same cross-platform or even across broswer versions on the same platform, about the best you can hope for is "close enough" for all the instances where it doesn't come out like you intended. When something comes out completely broken on one broswer/OS combo when it looks okay on all the others it's frustrating beyond belief. Just tinker a bit and hope you can get the one where it's broken to the "close enough" stage. It'd be nice if there was a simple soultion to this problem, but there isn't.