Closed
Bug 1273
Opened 26 years ago
Closed 26 years ago
floating image not laying out correctly
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: buster, Assigned: buster)
References
()
Details
with the latest floater code, this page still doesn't lay out correctly. The
main image in the center of the page at the top.
test case:
<html>
<head>
<META NAME="Pragma" CONTENT="no-cache">
<title>ABCNEWS.com</title>
<SCRIPT LANGUAGE="JavaScript">
//<!--
window.name = "_newshome";
// Weather and affiliate code
//===== Function to get a cookie content
function Get_Cookie_Content(cook, end) {
var c = null;
if( end > -1 )
c = cook.substring(0, end);
else
c = cook;
return c;
}
//===== Get the cookie for cities and affiliates.
var city = "index";
var affiliate = "index";
var str = "";
cookie = document.cookie;
start_index = cookie.indexOf("AFFILIATE=");
if( start_index >= 0 ) {
str = new String(cookie.substring(start_index + 10));
end_index = str.indexOf(";");
content = Get_Cookie_Content(str, end_index);
if( content != null)
affiliate = content;
}
start_index = cookie.indexOf("CITY=");
if( start_index >= 0 ) {
str = new String(cookie.substring(start_index + 5));
end_index = str.indexOf(";");
content = Get_Cookie_Content(str, end_index);
if(content != null)
city = content;
}
if ((city=="index")||(city==""))
var weatherimage= "<a href =
'http://webapp.abcnews.com/cgi/news/registration/weather.asp'><img
src='/images/weather_index.gif' width=120 height=35 vspace=6 border=0></a>";
else
var weatherimage = "<a href =
'/cgi/transfer.pl?goto=http://www.abcnews.com/weather/" + city +
".html&name=fp_weather'><img src='/images/weather/" + city + ".gif' width=120
height=35 vspace=6 border=0></a>";
if ((affiliate=="index")||(affiliate==""))
var localimage = "<br><a href='/local/index.html'><img
src='/images/hp_local_prereg.gif' border=0 width=119 height=39></a>";
else
var localimage = "<center><a href = '/local/" + affiliate +
"'><img src='/local/images/" + affiliate + ".gif' border=0 width=90
height=90></a></center><br>";
// Launch the default popoff window
function launchPopoff() {
if (((parseInt(navigator.appVersion)) >= 3) ||
(navigator.userAgent.indexOf("MSIE 4.0")) >= 0) {
launchURL("/ns3_frame.html", "popoff", 141, 330);
} else {
launchURL("/ie_frame.html", "popoff", 128, 296);
}
}
// Launch the Customized Remote
function launchRemote() {
if (((parseInt(navigator.appVersion)) >= 3) ||
(navigator.userAgent.indexOf("MSIE 4.0")) >= 0) {
launchURL("/ns3_framec.html", "remote", 136, 272);
} else {
launchURL("/ie_framec.html", "remote", 120, 237);
}
}
// LaunchURL main function
function launchURL(url,name,x,y) {
window.name = "_newshome";
var ItsTheWindow;
ItsTheWindow = window.open(url, name,
"status=no,height="+y+",width="+x+",scrollbars=no,resizable=no,toolbar=no");
}
//Personalization
function getSWID() {
i = document.cookie.indexOf("SWID=",0);
if(i == -1) {
return "";
}
i += 5;
if(document.cookie.indexOf("SWID={") >= 0) {
j = i + 38;
}
else {
j = i + 36;
}
swid = document.cookie.substring(i,j);
swid = unescape(swid);
return swid;
}
function getPID() {
i = document.cookie.indexOf("PID=",0);
i += 4;
if(document.cookie.indexOf("PID={") >= 0) {
j = i + 46;
}
else {
j = i + 44;
}
swid = document.cookie.substring(i,j);
swid = unescape(swid);
if(i == 3) {
swid = getSWID();
}
return swid;
}
function personalization_check() {
if((document.cookie.indexOf("PERSONALIZED=") >= 0) &&
(document.cookie.indexOf("SWID=") >= 0)){
return 'true';
}
else{
return 'false';
}
}
function writePersonalization() {
if(personalization_check() == 'true')
{
document.write('<a
href="/cgi/atransfer.pl?goto=http://www.transcomsoft.com/beeline/contest/&name=8
763&srvc=nws&guid=2498FAA5-74FD-11D2-95C9-00A0C9C76CD7" target="_top"><img
src="/ad/sponsors/beeline/bee001-120.gif" width=120 height=60 border=0
alt="Sponsored by Transcom Beeline"></a><img src="/images/spacer.gif" width=7
height=10><br><img src="/images/spacer.gif" width=110 height=7><br>');
document.write('<A HREF="javascript:launchRemote()"><img
src="/images/remotetop.gif" border=0 width=134 height=19 HSPACE=0 VSPACE=0
align="right"></a><br clear=all>');
document.write('<applet
codebase="http://webapp.abcnews.com/java/starwave/RemoteControl/"
code=RemoteControl.class name=RemoteControl width=134 height=207
ARCHIVE=RemoteControl.ZIP align="right"><param name="cabbase"
value="RemoteControl.cab"><param name="COOKIE" value="' + getPID() +
'"></applet><br clear=all>');
}
else
{
document.write('<table align=right valign=top border=0 width=140
cellpadding=0 cellspacing=0>');
document.write('<tr><td width=10 valign=top rowspan=3
align=right><img src="/images/siderule.gif" width=10 height=128></td>');
document.write('<td valign=center align=left width=120><img
src="/images/customize.gif" width=120 height=25 vspace=3></td>');
document.write('<td width=10 valign=bottom
rowspan=3> <br></td></tr>');
document.write('<tr><td valign=top align=left><font
face="geneva, arial, helvetica" size=1 color=white>');
document.write('<b>Now you can customize ABCNEWS.com to get the
up-to-the-minute stock quotes, sports scores and headlines you want. It\'s fast
and easy.<br>');
var agent = navigator.userAgent.toLowerCase();
if (agent.indexOf("mac") != -1)
document.write('<a
href="javascript:launchURL(\'http://webapp.abcnews.com/cgi/news/personalization/
personalization.asp?swid=' + getSWID() +
'\',\'personalization_gadget\',317,425);">');
else
document.write('<a
href="javascript:launchURL(\'http://webapp.abcnews.com/cgi/news/personalization/
personalization.asp?swid=' + getSWID() +
'\',\'personalization_gadget\',301,401);">');
document.write('<img src="/images/here.gif" width=68 height=20
vspace=6 hspace=4 border=0 alt="Click Here"></a></b></font><BR>');
document.write('</td></tr><tr><td valign=bottom align=right><a
href="/cgi/atransfer.pl?goto=http://www.transcomsoft.com/beeline/contest/&name=8
763&srvc=nws&guid=2498FAA5-74FD-11D2-95C9-00A0C9C76CD7" target="_top"><img
src="/ad/sponsors/beeline/bee001-120.gif" width=120 height=60 border=0
alt="Sponsored by Transcom Beeline"></a></td></tr>');
document.write('</table><br clear=all>');
}
}
// -->
</SCRIPT></head>
<!-- Bulldog generated on 981105 2:12pm ET using FrontPage.t -->
<body background="/images/homepage/tilehome_blutest.gif" link=#330099
alink=#99ccff vlink=#000000>
<!-----Begin Main Body Table----->
<table width=610 border="0" cellspacing="0" cellpadding="0">
<tr>
<!-------------- spacer cell --------------------->
<td width=10 valign=top><img src="/images/spacer.gif" width=10 height=1></td>
<!---------------- Masthead cell------------------->
<td colspan=2 valign=bottom width=480><nobr><img src="/images/spacer.gif"
width=1 height=68 hspace=0 vspace=0 border=0><img
src="/images/ABClogo_home_new.gif" width=248 height=104 hspace=0 vspace=0><a
href="/newsflash/"><img src="/images/homepage/hp_topspace.gif" width=2 height=68
hspace=0 vspace=0 border=0><img src="/images/homepage/hp_Thursday.gif" width=230
height=68 border=0 hspace=0 vspace=0></a></nobr></td>
<!--------------- Search, Weather, & Small Ad --------------->
<td valign=bottom width=120 height=60><font face=helvetica, "arial black" size=1
color=white><a href="http://search.abcnews.com/index.html"><img
src="/images/bar_search.gif" height=20 width=120 border=0 vspace=2></a>
<SCRIPT LANGUAGE="JavaScript">
//<!---
document.writeln(weatherimage);
//--->
</SCRIPT>
<a
href="/cgi/atransfer.pl?goto=http://www.abcnews.com/sections/tech/index.html&nam
e=9019&srvc=nws&guid=2498FAA5-74FD-11D2-95C9-00A0C9C76CD7" target="_top"><img
src="/ad/sponsors/ms_pbsg/ms_pbsg_barker004.gif" width=120 height=34 border=0
alt="Sponsored by Microsoft"></a></td></tr>
<!-------------- spacer cell --------------------->
<tr>
<td width=10 valign=top>
<img src="/images/spacer.gif" width=10 height=1>
</td>
<!---------- LEFT COLUMN: Headline Ticker, Factoid & Poll -------------->
<td valign=top align=right width=140><br>
<img src="/images/spacer.gif" width=140 height=1 hspace=0>
<!------ Headliner Applet ------>
<!-- Begin Headliner Applet --->
<script language="javascript">
//<!--
writePersonalization();
//-->
</script>
<!----- End Headliner Applet ----><br><br>
<!---- Poll or Fact of the Day ---->
<table bgcolor="#0088dd" border=0 width=140 cellpadding=0 cellspacing=0>
<tr><td valign=top> <center> <IMG SRC="/poll/images/ban_homepoll.gif"
WIDTH=120 HEIGHT=35 BORDER=0 ALT="What do you think?"> <br> <img
src="/images/bluedot.gif" width=100 height=2 vspace=6 align=center> <br>
<table width=130 border=0 cellpadding=0 cellspacing=0> <tr><td> <center> <img
src=http://www.abcnews.com/poll/images/poll2140_0.gif><br> </center>
</td></tr> </table> </td></tr> </table> <!-- Poll & Factoid ------>
</td>
<!--------- End of Left Column ---------->
<!---- CENTER COLUMN: MAIN BODY ----->
<td bgcolor="white" width=340 align="center" valign=top>
<img src="/images/spacer.gif" width=340 height=1 hspace=0>
<!------------interior headlines table----------->
<center>
<table border="0" cellpadding="0" cellspacing="0" width=320>
<tr>
<td width=320 valign=top>
<a href="/gallery/981105_history.html">
<font size=1 face="geneva, arial, helvetica"><b>November 5</a>, 1998</B></FONT>
<img src="/images/bluedot.gif" width=320 height=1 vspace=3 hspace=0><br>
<!-- Begin Sectional Ticker-->
<Applet codebase="/java/"
code="starwave.news.sectionalTicker.SectionalTicker.class" width=320 height=17
archive="SectionTicker.jar">
<param name="cabbase" value="SectionTicker.cab">
<Param name="Data URL" value="/data/SectionalTicker.dat">
</Applet><!--End Sectional Ticker --><img src="/images/bluedot.gif" width=320
height=1 vspace=3 hspace=0><br>
<!------ BEGIN CALLOUT TABLES ------>
<table width=125 cellpadding="2" cellspacing=0 border=0 align=left>
<tr>
<td align=right>
<a href="/sections/us/DailyNews/gingrich981105.html">
<img src="/media/FrontPage/images/ap_gingrich981105_fp.jpg" width=125 height=125
vspace=0 hspace=3 border=0 alt="'Newt Gingrich'"></a><br>
</td></tr></table>
<font size=1 face="geneva, arial, helvetica"><b>T O P S T O R
Y</b></font><br>
<font face= "arial, helvetica" size=5><b>
<a href="/sections/us/DailyNews/gingrich981105.html">Eye On
Newt</a></b></font><br>
<font face="arial, helvetica" size=2>There's a rumbling in the ranks, as
Republicans wonder if it was leader Newt Gingrich who fumbled on Election Day.
Could a challenge to the House speaker be in the works?
<br>
<a href="http://www.abcnews.com/sections/us/DailyNews/analysis981104.html"><b>
Exit Polls: “Drop Impeachment” <img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4 border=0></b></a>
<br>
<a href="http://www.abcnews.com/sections/us/DailyNews/ballotmeasures.html"><b>
Referendums: Medical Pot OK <img src="/images/teenyicon_arrow.gif" width=9
height=10 hspace=4 border=0></b></a>
<br>
<a href="http://www.abcnews.com/sections/us/DailyNews/pn_blacks981104.html"><b>
Black Voters Made Themselves Heard</b></a>
</font>
<a href="/sections/us/DailyNews/gingrich981105.html"><img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4 border=0></a>
<br clear=all>
<img src="/images/bluedot.gif" width=320 height=2 vspace=6 hspace=0><br>
<font size=1 face="geneva, arial, helvetica"><b>U S</b></font><br>
<font face="arial, helvetica" size=4><b>
<a href="/sections/us/DailyNews/impeach981105_hyde.html">Impeachment, At Hyde
Speed</a></b></font><br>
<font face="arial, helvetica" size=2>As part of an expedited impeachment
inquiry, House Judiciary Chairman Henry Hyde will have only one star witness and
also will ask the president to establish the facts about his relationship with
Monica Lewinsky.</font>
<a href="/sections/us/DailyNews/impeach981105_hyde.html"><img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4 border=0></a>
<br clear=all>
<img src="/images/bluedot.gif" width=320 height=2 vspace=6 hspace=0><br>
<table width=60 border="0" cellpadding="2" cellspacing="0" align=right>
<tr>
<td align=right>
<a href="/sections/science/DailyNews/parrot981104.html">
<img src="/media/FrontPage/images/PN3_parrot_sfp.jpg" width=60 height=80
vspace=0 hspace=3 border=0 alt="parrot"></a><br>
</td></tr></table>
<font size=1 face="geneva, arial, helvetica"><b>S C I E N C E</b></font><br>
<font face="arial, helvetica" size=4><b>
<a href="/sections/science/DailyNews/parrot981104.html">Fossil Find Ruffles
Feathers</a></b></font><br>
<font face="arial, helvetica" size=2>A 65-million-year-old fossil has been
identified as the jawbone of a parrot. That would make it the only known land
bird to live during the dinosaur age.</font>
<a href="/sections/science/DailyNews/parrot981104.html"><img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4 border=0></a>
<br clear=all>
<img src="/images/bluedot.gif" width=320 height=2 vspace=6><br>
<table width=320 cellpadding=4 cellspacing=0 border=0 valign=top><tr><td
valign=top bgcolor="#ff9900">
<font size=4 face="times roman, serif" color=white>SCIENCE</font><font size=4
face="times roman, serif" color=black>THURSDAY<br>
<font face="arial, helvetica" size=4><b><a
href="/sections/science/DyeHard/dye80.html">Bright Lights, Dark
Cities</a></b></font><br>
<font face="arial, helvetica" size=2>It’s not a falling star. Just an
82-foot mirror orbiting Earth, designed to brighten the dark winters in Siberia.
Will it prove a big pain to astronomers?
<a href="/sections/science/DyeHard/dye80.html"><img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4
border=0></a></font><br>
</td></tr></table>
<img src="/images/bluedot.gif" width=320 height=2 vspace=6 hspace=0><br>
<font size=1 face="geneva, arial, helvetica"><b>M R. S H O W B I
Z</b></font><br>
<font face="arial, helvetica" size=4><b>
<a href="/sections/entertainment/index.html">Step Aside, Leo</a></b></font><br>
<font face="arial, helvetica" size=2>He’s handsome. He’s rugged.
He’s heroic. And now, the man who’s played everyone from a space
buccaneer to a president has been crowned <i>People</i>’s “Sexiest
Man Alive.”
</font>
<a href="/sections/entertainment/index.html"><img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4 border=0></a>
<br clear=all>
<img src="/images/bluedot.gif" width=320 height=2 vspace=6 hspace=0><br>
<table width=60 border="0" cellpadding="2" cellspacing="0" align=left>
<tr>
<td align=right>
<a href="/sections/travel/Europhiles/cinque.html">
<img src="/media/FrontPage/images/travel_cinque_sfp.jpg" width=60 height=80
vspace=0 hspace=3 border=0 alt="Cinque Terra"></a><br>
</td></tr></table>
<font size=1 face="geneva, arial, helvetica"><b>T R A V E L</b></font><br>
<font face="arial, helvetica" size=4><b>
<a href="/sections/travel/Europhiles/cinque.html">Italy’s Hilly
Hideouts</a></b></font><br>
<font face="arial, helvetica" size=2>The Cinque Terre, a chain of coastal
villages linked by walking paths, is Italy's alternative to the French Riveria.
Take a stroll with <i>Eurofiles</i>.</font>
<a href="/sections/travel/Europhiles/cinque.html"><img
src="/images/teenyicon_arrow.gif" width=9 height=10 hspace=4 border=0></a>
<br clear=all>
</td>
</tr>
</table>
<img src="/images/spacer.gif" width=320 height=1 vspace=0">
</td>
<!------ end of middle column ------>
<td bgcolor="#3366cc" valign=top width=120 valign=top>
<!----- RIGHT COLUMN navigation buttons ---->
<!--- Navigation Map--->
<a href="/imagemap/navmap.map">
<img src="/images/hp_nav198.gif" width=119 height=288 vspace=6 usemap="#nav"
ismap border=0></a>
<!--- Navigation Map --->
<map name="nav">
<area shape=rect coords="15,0,117,14" href="/newsflash/">
<area shape=rect coords="15,15,117,30" href="/sections/us/">
<area shape=rect coords="15,31,117,46" href="/sections/world/">
<area shape=rect coords="15,46,117,61" href="/sections/business/">
<area shape=rect coords="15,61,117,76" href="/sections/tech/">
<area shape=rect coords="15,78,117,91" href="/sections/science/">
<area shape=rect coords="15,94,117,109" href="/sections/living/">
<area shape=rect coords="15,110,117,125" href="/sections/travel/">
<area shape=rect coords="15,126,117,141" href="/sections/sports/">
<area shape=rect coords="15,142,117,157" href="/sections/entertainment/">
<area shape=rect coords="15,158,117,172" href="/dispatches/">
<area shape=rect coords="15,173,117,188" href="/onair/">
<area shape=rect coords="15,189,117,204" href="/gallery/">
<area shape=rect coords="15,206,117,221"
href="http://webapp.abcnews.com/cgi/news/asps/weather/w_intro.asp">
<area shape=rect coords="15,222,117,236" href="/local/">
<area shape=rect coords="15,238,117,252"
href="http://search.abcnews.com/index.html">
<area shape=rect coords="15,254,117,268"
href="http://play.rbn.com/?swave/abc/demand/wnews.ra">
<area shape=rect coords="15,270,117,285" href="/toc.html">
</map>
<br>
<!---- affiliate logo ---->
<SCRIPT LANGUAGE="JavaScript">
//<!---
document.writeln(localimage);
//--->
</SCRIPT>
<a href="/local/index.html"><img src="/images/homepage/hp_local_postreg.gif"
border=0 width=119 height=30></a>
<!---- Area Mapping for Nav Bottom ---->
<a href="/imagemap/navmap_bottom.map">
<img src="/images/homepage/hpnav_bottom.gif" border=0 width=119 height=186
usemap="#nav_bottom" ismap border=0></a>
<map name="nav_bottom">
<area shape=rect coords="14,2,92,29"
href="http://www.abcnews.com/cgi/transfer.pl?goto=http://www.newaol.com/aol/7354
1/adc.html&name=AOL">
<area shape=rect coords="14,34,92,61"
href="http://www.abcnews.com/cgi/transfer.pl?goto=http://www.netscape.com/&name=
Netscape">
<area shape=rect coords="14,66,62,104"
href="http://www.abcnews.com/cgi/transfer.pl?goto=http://www.abc.com/&name=ABC">
<area shape=rect coords="14,109,103,122" href="/service/register.html">
<area shape=rect coords="14,125,102,140" href="/index_ns2.html">
<area shape=rect coords="14,141,105,165" href="/service/home.html">
<area shape=rect coords="14,166,105,180" href="/ad/sponsors.html">
</map><img src="/images/spacer.gif" height=1 width=120 hspace=0>
</td>
</tr>
<!---- Footer ---->
<tr>
<td COLSPAN=2 width=150>
<img src="/images/spacer.gif" height=1 width=150>
</td>
<td width=340>
<font face=helvetica bold, arial bold, size=1 color=white><b>Copyright
©1998 ABCNEWS and Starwave Corporation. All rights reserved. This material
may not be published, broadcast, rewritten or redistributed in any form. Please
<a href="/service/terms.html"><font color="#cccccc">click here</font></a> for
legal restrictions and terms of use applicable to this site. Use of this site
signifies your agreement to the terms of use. </b><a
href="/service/privacy.html"><font color="#cccccc">Privacy Policy</font></a>
(updated 1/12/98)</font></td>
<td bgcolor="#3366FF" width=120>
<img src="/images/spacer.gif" height=1 width=120>
</td></tr>
</table>
</body>
</html>
Comment 2•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Fixed in the March 23rd Build.
You need to log in
before you can comment on or make changes to this bug.
Description
•