Closed Bug 273148 Opened 20 years ago Closed 19 years ago

The pumpkin is one line too low...

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: ulybka, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

It is created with the code below.
For some reason IE locates it well, but Firefox locates it one line too low...
Probably because of document.write?

  <div align="left">

  <table border="0" cellspacing="0" cellpadding="0" width="138">
    <tr valign="TOP" align="LEFT">
    <td width="65" height="65" ALIGN="center">
<script language="Javascript">
<!--
document.write('<a href=\"mailto:' + 'ulybka' + '@' + 'skynet.be' + '\">');
document.write('<p align="center"><img border="0" src="others/logo-pics.gif"
ALT="Contact Ulybka" width="56" height="60"></p></a>');
// -->
</script>
    </td>

    <td width="69" ALIGN="center" height="65">

<P align="center" STYLE="margin-top: 0; margin-bottom: 0">&nbsp;</P>
<P align="center" STYLE="margin-top: 0; margin-bottom: 0"><A><B><I><FONT
COLOR="#FFFF00">ULYBKA's</FONT></I></B></A></P>
<P align="center" STYLE="margin-top: 0; margin-bottom: 0"><A><B><I><FONT
COLOR="#FFFF00">Cavern</FONT></I></B></A></P>

    </td>
    </tr>
  </table>
  
  </div>


Reproducible: Always
Steps to Reproduce:
1. Load the page.
2.
3.

Actual Results:  
The pumpkin is too low.

Expected Results:  
It should be centered.
You seem to have have framesets inside framesets and the frame in question
http://drawings.love.ecards.free.fr/ulybka-art/logo-funny.htm will not display
for me (Javascript?).

This might be due to the FRAMEBORDER's being wider than you expected.

(A simpler test case would help determine whether there is a defect in Firefox)

I would be tempted to use only one FRAMESET, or given that you are happy to
use CSS, do without frames altogether.

The big picture is that your pages should contain your info purely as content,
and presentation should be separate, and as an author you should bear in
mind that the user's browser (and user) can alter its appearance. 
Component: Web Site → General
OK I simplified the code a little. Here is the address:
http://drawings.love.ecards.free.fr/ulybka-art/top-menu.htm

The top left pumpkin is still too low, it looks it is due to the javascript not
interpreted correctly by Firefox.


I am interested in whether there is a defect in Firefox; if you know that
your Javascript is not being interpreted properly then it would be
helpful to know the actual and expected behaviour of the Javascript
interpreter.

So far as I can tell, the page in question is now at 
http://drawings.love.ecards.free.fr/ulybka-art/left-menu.htm
which cannot be opened.
It is not there, but in:
http://drawings.love.ecards.free.fr/ulybka-art/top-menu.htm

The Javascript does not say: "go to the next line", so it is not properly
interpreted.

- expected result: pumpkin at the top of the cell
- actual result: pumpkin is like a line too low
(In reply to comment #4)
> It is not there, but in:
> http://drawings.love.ecards.free.fr/ulybka-art/top-menu.htm

When I surf to that URL, my browser opens
http://drawings.love.ecards.free.fr/ulybka-art/main-menu-frames.htm

I suspect (but I can't be sure) that your pages contain javascript
that thwart my attempts to open the frame that has problems.
Looking at the source of the pages that I can open leads me to 
the URL I quoted in comment 3 .

I am hoping that you can create a simpler page which shows the problems
(excessive space above content), or perhaps disentangle your existing 
site.

> The Javascript does not say: "go to the next line", so it is not properly
> interpreted.
> 
> - expected result: pumpkin at the top of the cell
> - actual result: pumpkin is like a line too low

I have not yet studied, or even seen, the document in question, but I suspect
that it is a question of borders, padding or margins.

You might want to note that you have several CSS errors such as:
Error: Unexpected end of file while searching for '',' or '{''.  Ruleset ignored
due to bad selector.
Source File: http://drawings.love.ecards.free.fr/ulybka-art/left-menu.htm
Line: 4
O.K. I have seen your file, and the problem is definitely visible. I
think that you are missing

      STYLE="margin-top: 0; margin-bottom: 0"

after <p align="center" on line 59.

Would you like me to post a patch (and/or a screenshot showing the page
with this fix in)?

You will probably see this bug resolved as INVALID as there is no
defect in Firefox if it is styling your paragraphs as you have requested.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.