Closed
Bug 278757
Opened 20 years ago
Closed 16 years ago
sina.com.cn - contact info should be at the end of the page
Categories
(Tech Evangelism Graveyard :: Chinese-Simplified, defect)
Tech Evangelism Graveyard
Chinese-Simplified
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jiang_wq, Unassigned)
References
()
Details
(Whiteboard: [script designed to only work in IE])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Go to the URL. It's a long web page and it's in Chinese. In the 'first page',
which is the content at the beginning of the whole web page that appears in
browser window, you can see some content overlap at the right hand side. The
overlapping content (in which there's phone number) should be rendered at the
end of the whole page, actually. Please use an IE browser to see the difference.
Reproducible: Always
Steps to Reproduce:
1.go to the URL
2.see some content overlap
3.compare to IE's rendering.
Comment 1•20 years ago
|
||
The "misplaced" block is generated by JavaScript:
http://ad4.sina.com.cn/sina/ae/ad_src/float/floatleft_close.js
(generates "myleft" below)
http://ad4.sina.com.cn/sina/ae/ad_src/float/floatright_close.js
(generates "myright" below)
The resulting markup looks something like this:
<body>
<center>
...
<div id="myleft" style='position: absolute;width:80;top:300;left:5; ...'>
...
<div id=myright style='position: absolute;width:80;top:0;left:578; ...'>
Given the markup and styling the layout is correct.
There is a couple of functions that is designed to move "myleft":
http://ad4.sina.com.cn/sina/ae/ad_src/float/floatleft_close.js:
function myload()
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight_close;
myleft.style.left=imgleft;
leftmove();
}
function leftmove()
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight_close;
myleft.style.left=imgleft;
setTimeout("leftmove();",50)
}
But the call to myload() is within a "if(document.ns){" and
document.ns = navigator.appName == "Microsoft Internet Explorer"
-> TE
Assignee: firefox → chinese-simplified
Status: UNCONFIRMED → NEW
Component: General → Chinese-Simplified
Ever confirmed: true
OS: Windows 2000 → All
Product: Firefox → Tech Evangelism
QA Contact: general → chinese-simplified
Hardware: PC → All
Summary: layout problem - contact info at the end of page is rendered elsewhere → sina.com.cn - contact info should be at the end of the page
Whiteboard: [script designed to only work in IE]
Reporter | ||
Comment 2•20 years ago
|
||
Thanks for the diagnosis! Should I mark the bug as resolved?
Comment 3•20 years ago
|
||
If the site have been fixed, yes. If the problem still occurs, then please
contact the site and inform them of the problem, thanks.
Comment 4•16 years ago
|
||
looks fixed
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•