Closed
Bug 62142
Opened 25 years ago
Closed 23 years ago
N6 doesn't display the height of a table data element correctly
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: ekrock, Assigned: karnaze)
References
()
Details
(Whiteboard: [awd:tbl][NEED TESTCASE])
Attachments
(2 files)
User report using N6.
Operating System: Win98
Language: English
Issue Summary: html display
Component: PageLayout
Doing What: Other creating a web page
Severity: SomethingDidNotWorkRight
Can Reproduce: Always
Try this URL: http://www.catfoods.co.uk/nav_6_border.htm Issue Detail:
seems that 6 doesnt display the height of a table
data correctly.
the above url has been checked as valid HTML by w3c.
note huge black borders.
Confirm, using Build: 2000120504 on WinNT4 Sp6
Works on Netscpae 4.76 and MS IE5.5, but not in SM
Friendly, HJ
Comment 3•25 years ago
|
||
stylesheet removed, problem remains.
Build:2000120504 on WinNT4 Sp6b
First step:
Take off the bgcolor. Then you will see a small error in the source. You need to
use width=118 and not width=1. But, it still works in IE 5.5 though. By putting
the bgcolor in, you are hiding the error! And we are trying to fix this!
Please ask yourself. Should we use the wheels on the HTML car? Or do we make new
one's our selfs? I would prefer to use the wheels we have. In other words, what
are you doing? You can easily use border=1 for that. Or are you willing to
BugTown SM??
Ok, you have a point. The heights are wrong, but who will do this trick like
you? I'm not doing it like that!
Please, take a look at my source. It's much smaller, and loads faster.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Test Table</title>
</head>
<body>
<table width="120" cellpadding="0" cellspacing="0" border="1" summary="">
<tr>
<td width="118" align="right">
<a href="web_design.php3">Web Design</a><br>
<a href="networking.php3">Networking</a><br>
<a href="pc_repairs.php3">PC Repairs</a><br>
<a href="consultancy.php3">Consultancy</a><br>
<a href="contact_info.php3">Contact Info</a>
</td>
</tr>
</table>
</body>
</html>
Friendly, HJ (did I miss something, sorry I'm only human)
Ok, it's not the height, but it is about the position in the table! Here's my
example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Test Table</title>
</head>
<body>
<table width="100" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="1"><img src="dot.gif" width="1" height="1" alt="" border="0"></td>
<td height="1" ><img src="dot.gif" width="118" height="1" alt="" border="0"></td>
<td height="1"><img src="dot.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td height="15"><img src="dot.gif" width="1" height="15" alt="" border="0"></td>
<td height="15" align="center">option</td>
<td height="15"><img src="dot.gif" width="1" height="15" alt="" border="0"></td>
</tr>
<tr>
<td height="1"><img src="dot.gif" width="1" height="1" alt="" border="0"></td>
<td height="1"><img src="dot.gif" width="118" height="1" alt="" border="0"></td>
<td height="1"><img src="dot.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
</body>
</html>
B.T.W. I'm not able to send a file, keep getting this message telling me the
file is empty. Well I'm so sorry, but it's not empty at all. Please help!
Friendly, HJ
Another example:
Table at the top of http://huckleberry.colorado.edu/ipmaster/
Should be Height 1 -- instead, it's an ugly black bar
Even more strange, because the code to produce this top bar was yanked directly
from http://www.colorado.edu/its/, and the bar there displays correctly (height = 1)
Comment 8•24 years ago
|
||
Hey kids...
I've been trying to do something similar to what you're talking about here...
Using a 1 pixel image to create spacer tablerows... explicitly declaring height
of both the cell and the row... and having it not work... but I found some
interesting stuff...
I tried it on Galeon 0.12.6 and Mozilla 2001101201 (both on Linux) and got the
errors you described... then I tried it on Netscape 6.1 for Mac (20010726) and
it renders exactly as it should...
My code is:
<tr height="1"><td bgcolor="#666666" height="1"><img src="elements/blank.gif"
width="1" height="1"></td></tr>
This is a pretty big deal for people who depend on this technique for layout
purposes...
-jag
Comment 9•24 years ago
|
||
Comment 10•24 years ago
|
||
2 examples tested with Moz 0.9.7 and IE5.5.
In the first example (non-zero border), 0.9.7 renders a cell containing dot.gif
at full row height (irrespective of the image alignment). In IE, the row is
automatically collapsed to 1 pixel in height.
The second example (zero border) gives a potential workaround for web authors
by using an empty cell -- which works in Moz 0.9.7 and IE 5.5 but has not been
tested with any other browsers (or versions).
| Assignee | ||
Comment 11•24 years ago
|
||
Temporarily moving to future until a milestone can be assigned.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 12•23 years ago
|
||
The problem I am having is in NS4 and IE when you put an image in a cell the
cell will collapse to the images height. Mozilla currently isn't handling that
correctly.
Comment 13•23 years ago
|
||
This has been fixed, see bug 153032 "Implement almost-standards rendering mode"
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•