473,387 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Senseless rendering: Mac.Mozilla != Mac.Netscape6.01 ?!?!

Hello out there,
pls excuse if my xposting might fall into a false group - this is a quick problem which I should solve soon...

Why the heck would Mozilla 1.2.1 on a Mac (OS 9.x) render a HTML-page different from Netscape 6.01 on the same Mac?

The page in question is (temporarily)

http://www.gosub.de/felix/waitpage.html

For debugging I turned on the table borders and trans.gif-borders:

Netscape here always makes the spacer-gif table rows too high! It doesn't make any sense to me and I would be so thankful if someone could lead me back to the path of working HTML...

I tried to set the colspan of the spacer rows (to add an extra blank space between the form field rows) to 6 first, of course, and now changed to 6 identical td's - no difference.

I tried to set the table height - no use either

I've added a style to the form tag - no use, as expected.

I'm goin nuts soon...
Any advice much appreciated here,
Roman.
--
Roman Blöth
gosub communications GmbH | Fredersdorfer Str. 10 | D-10243 Berlin
T: 030 / 29 36 39 1 - 43 | F: 030 / 29 36 39 1 - 40
Jul 20 '05 #1
5 2850
Dear Chris Morris <c.********@durham.ac.uk>,

Am 02 Jul 2003 11:11:39 +0100 hast du geschrieben:
Netscape 6.01 is based on an early (pre-release) version of Mozilla.
I forget which exactly, and don't have a copy to hand, but someting
like 0.6 sounds about right [..] It's a bug I remember seeing quite a lot from some Netscape 6s and
spacer gifs. If you use a CSS-based layout you won't need the spacer
gifs, but until then a possible workaround is to set style="font-size:
1px;" on the spacer cells (preferably through an external CSS file and
classes, obviously).


O.k., this indeed is an enlightenment to me. Thank you very much for your qualified answer and help!

And btw, I would love to use external CSS here, (and clean HTML 4.01), but this page has to be rendered on as many browser/os combinations as possible, and for example Opera 6.05/Win ignores spacer gifs of height=4...
Thank you a thousand times! You really saved my day.
Roman.
--
Roman Blöth
gosub communications GmbH | Fredersdorfer Str. 10 | D-10243 Berlin
T: 030 / 29 36 39 1 - 43 | F: 030 / 29 36 39 1 - 40
Jul 20 '05 #2
Roman Blöth <bl****@gosub.de> wrote:
Why the heck would Mozilla 1.2.1 on a Mac (OS 9.x) render a HTML-page
different from Netscape 6.01 on the same Mac?
Netscape 6.01 is based on a much earlier version of the Gecko engine
than Mozilla 1.2.1.
The page in question is (temporarily)

http://www.gosub.de/felix/waitpage.html

For debugging I turned on the table borders and trans.gif-borders:

Netscape here always makes the spacer-gif table rows too high!
Are you building a new web page with spacer gifs? How retro. ;-)
It doesn't make any sense to me and I would be so thankful if someone
could lead me back to the path of working HTML...
See http://www.hut.fi/~hsivonen/doctype.html

Your doctype puts Netscape 6.01 into Standards mode and Mozilla 1.2.1
into Almost Standards mode.
In Standards mode (Netscape 6.01) the table cells are sized according
to the CSS specification - this means that the <img> is treated as if
it was a text character and so space is left below it just as you
would leave space below the letter 'a' in case the next letter in the
sentence was 'g'.
In Almost Standards mode (Mozilla 1.2.1) the table cell heights are
rendered in retro-Netscape 4 fashion with no space below the images.
I tried to set the colspan of the spacer rows (to add an extra blank
space between the form field rows)


Why not use margin on the form elements? Or padding on the table
cells?

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #3
Chris Morris wrote:
Roman Blöth <bl****@gosub.de> writes: [snip]
Netscape here always makes the spacer-gif table rows too high! It
doesn't make any sense to me and I would be so thankful if someone
could lead me back to the path of working HTML...


It's a bug I remember seeing quite a lot from some Netscape 6s and
spacer gifs. If you use a CSS-based layout you won't need the spacer
gifs, but until then a possible workaround is to set style="font-size:
1px;" on the spacer cells (preferably through an external CSS file and
classes, obviously).


Are you sure? It sounds like the usual problems with strict mode and table
layouts, not a bug in Netscape:

<URL:http://devedge.netscape.com/viewsource/2002/img-table/>

Something to remember the next time somebody claims that table layouts work
the same everywhere.

By the way, if you're going to stick with spacer gifs, alt="" or alt=" ",
not alt="spacer".
http://ppewww.ph.gla.ac.uk/~flavell/alt/alt-text.html


Ditto.
--
Jim Dabell

Jul 20 '05 #4
In article <20****************************@gosub.de>, Roman =?ISO-8859-
15?Q?Bl=F6th?= wrote:
And btw, I would love to use external CSS here, (and clean HTML 4.01),
but this page has to be rendered on as many browser/os combinations as
possible, and for example Opera 6.05/Win ignores spacer gifs of
height=4...


Then you must use external CSS (hiding from NN4 and IE3) and clean HTML4.
That is most supported after plain text. (Opera 6 has one of the best CSS
capability, BTW.)

There is probably 100 times more browser/os combinations than you know.

And if you mean rendered exactly same with rendered, you will fail. On
all browsers, at least with some settings.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Jul 20 '05 #5
Lauri Raittila wrote:
(Opera 6 has one of the best CSS capability, BTW.)


Better than O7 in some cases :-(

--

Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: JW | last post by:
A while ago I posted a page with some rendering differences between IE and Mozilla/Firebird. It's been a while since I revisited it, but I've modified things so that the HTML and CSS pages...
2
by: Karl Smith | last post by:
This page: http://users.tpg.com.au/karl6740/css/multi-mode_1.html - uses "CSS1Compat" mode in Opera 7.23 but "BackCompat" mode in MSIE 6 and "QuirksMode" in Mozilla 1.6. Whereas this page:...
30
by: Matt Probert | last post by:
Is it just me (probably) or is Mozilla and the newer Firefox full of CSS rendering bugs? I ask, because some strange effects occur with Mozilla and Firefox which don't happen in Opera and dare I...
5
by: alexandre damiron | last post by:
The following Addel function renders a new line on Mozilla but nothing on IE 6 , yet no error is parsed neither on IE nor Mozilla. Any explanation ? Thanks a lot. <html> <head> <title>Mozilla...
4
by: Nacho Nachev | last post by:
Hello, AFIAK ASP.NET (1.1) uses a technology called 'Adpative Rendering' to output HTML that is compliant with the client browser or at least stick to HTML 4 specification or IE. This seems...
4
by: David R | last post by:
Using this CSS: ------------------------ button { border: none; background: url("Button-LU.gif") center center; padding: 0; text-align: center; margin: 0.5em;
8
by: Clément | last post by:
Hi! I am currently developping a user interface with Ajax/C#/.net. And I am facing a problem with Mozilla, and Firefox. I use the function innerHTML to load a Web UserControl into a div, this...
3
by: ramesh | last post by:
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into...
4
by: R144N | last post by:
Hi Everyone, I've searched variuos forums as much as I could for a similar problem within the time I could and found no helpful solution, I hope someone here can help me out: I have an iFrame...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.