Closed
Bug 8996
Opened 26 years ago
Closed 26 years ago
<font color="#ffffff"> has nog effect
Categories
(Core :: Layout, defect, P3)
Tracking
()
M11
People
(Reporter: ushackles, Assigned: harishd)
References
Details
Attachments
(1 file)
182 bytes,
text/html
|
Details |
the font colors on the page below does not seem to have any effect and the
tables get weird sizes in my m7 build (build id-1999062113) this does not occur
in my older builds. access to my webserver has been restricted so i'll just copy
& paste the page into this description:
----------------------------------
<title>Organisation - Meny</title>
<center>
<table border=0 bgcolor="#ffffff" cellspacing=5><tr>
<td align=center valign=center rowspan=2>
<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>
<center>
<table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial" size="2"
color="#ffffff"><center><b>
Organisationsschema
</b></center></td></tr></table>
</center>
<table border=0><tr><td> </td><td>
<a href="orgschema.html" target="org2">
HTML
</a><br>
Utökad version av organisationsschemat med tel nr, adresser etc.<br><br>
<a href="http://www.lkp.dynamics.se/regelver/instrukt/0/002_rn.pdf">PDF</a><br>
Den officiella versionen.<br>
</td><td> </td></tr></table>
</td></tr></table></td></tr></table>
</td>
<td align=center valign=center>
<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>
<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RN</b></center></font></td></tr></table>
</center>
<br>
<ul>
<li><a href="rn_protokoll.html">Protokoll</a></li>
<li><a href="rn_narvaro.html">Närvarolista</a></li>
<li><a href="rn_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>
</td></tr></table></td></tr></table>
</td>
<td align=center valign=center>
<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>
<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RNA
</b></center></font></td></tr></table>
</center>
<br>
<ul>
<li><a href="rna_protokoll.html">Protokoll</a></li>
<li><a href="rna_narvaro.html">Närvarolista</a></li>
<li><a href="rna_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>
</td></tr></table></td></tr></table>
</tr>
<tr>
</td>
<td align=center valign=center>
<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>
<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RNU</b></center></font></td></tr></table>
</center>
<br>
<ul>
<li><a href="rnu_protokoll.html">Protokoll</a></li>
<li><a href="rnu_narvaro.html">Närvarolista</a></li>
<li><a href="rnu_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>
</td></tr></table></td></tr></table>
</td>
<td align=center valign=center>
<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>
<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RNV</b></center></font></td></tr></table>
</center>
<br>
<ul>
<li><a href="rnv_protokoll.html">Protokoll</a></li>
<li><a href="rnv_narvaro.html">Närvarolista</a></li>
<li><a href="rnv_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>
</td></tr></table></td></tr></table>
</td></tr></table>
---------------------------------------------------
I've tracked down what caused the problem and it seems as if it is not at all a
table problem but a problem with the normal <center> and <font> tags. (BTW,
sorry for the old messy example :) ) This is it: When having a <center>
</center> pair inside a <font> </font> pair, or even just after a <font> tag,
the <font> tag will have no effect. It also seems ta add a new line above any
text inside the <center> </center> part. Example code:
---------------
<title>test</title>
<body bgcolor="#808080">
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah <br>
<font color="#ffffff" face="arial">
<center>
blah<br>
</center>
</font>
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah <br>
<font color="#ffffff" face="arial">
blah<br>
------------------------------------------
The bug occurs in m6 and m7 and possibly other milestones also. However it did
not occur in a very old nightly build i found.
/ Uncle Shackles
Comment 4•26 years ago
|
||
With the Aug 10th build, I can reproduce this issue. However, the CENTER element
being insert into a FONT element is not following HTML 4.0 Transitional
guidelines. If you try to validate the attached test case, it fail under HTML 4.0
Transitional. Moving the CENTER element outside of the font element will fix this
and the test case will validate.
Comment 5•26 years ago
|
||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Comment 10•26 years ago
|
||
This is one of the millions of bugs where the parser won't let <font> contain
blocks (which, after all, is correct) but where legacy pages expect this to
work. Marking as dup of 991, which is the main holding tank for this bug and
its symptoms.
*** This bug has been marked as a duplicate of 991 ***
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 11•26 years ago
|
||
Agreed. This is a duplicate of 991.
You need to log in
before you can comment on or make changes to this bug.
Description
•