MozillaZine

I have a liittle problem for this site

Discussion about official Mozilla Firefox builds
ganlu
 
Posts: 96
Joined: March 16th, 2003, 4:58 am
Location: China

Post Posted April 12th, 2003, 11:17 pm

http://www.bol.com.cn/cgi-bin/bol/bol/hmp_bbc.jsp
no scrollbar!!!!
with builds 0331

calvinweb

User avatar
 
Posts: 65
Joined: January 31st, 2003, 9:17 am

Post Posted April 13th, 2003, 2:12 am

It also happens with
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
but not with
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Don't know what causes it though.

helo

User avatar
 
Posts: 77
Joined: December 11th, 2002, 12:54 pm

Post Posted April 13th, 2003, 5:54 am

It also happens with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5, and
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030408 Phoenix/0.5+

It´s OK in:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02

Although the page doesn´t center in Phoenix and Netscape like it does in IE6.

wheerdam

User avatar
 
Posts: 2771
Joined: March 30th, 2003, 7:12 pm
Location: OK, U.S.

Post Posted April 13th, 2003, 6:01 am

Happens on the golden build also:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030320 Phoenix/0.5
I'm weird, damn

willll

User avatar
 
Posts: 2577
Joined: November 30th, 2002, 11:39 am
Location: Washington, DC

Post Posted April 13th, 2003, 6:32 am

do you guys have the chinese fonts installed? i don't get scrollbars either, but i dont have those fonts installed. just wondering if it makes a difference. when i ge a chance i'll test it on my downstairs computer which does have those stuff installed.

calvinweb

User avatar
 
Posts: 65
Joined: January 31st, 2003, 9:17 am

Post Posted April 13th, 2003, 6:49 am

OK, the strange stuff continues: when I save it on my disk as a text file and view it with Phoenix, I get the scroll bar, but if I save it as a complete page, the scroll bar disappears.

When validating the URL with w3c.org, I get
Sorry, I am unable to validate this document because on lines 608, 976, 1029 it contained one or more bytes that I cannot interpret as gb2312 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.


But I couldn't find those strange bytes.

PiGuy
 
Posts: 48
Joined: March 5th, 2003, 8:59 am

Post Posted April 13th, 2003, 10:11 am

The fact that this doeesn't show up when just the page is saved means that the problem is more than likely in the CSS. I found these odd constructs in the CSS document http://www.bol.com.cn/bol/css/bbc.css:
Code: Select all
html{overflow:hidden;}

I wouldn't be surprised if this does it. If all overflown content is hidden, then that means everything below the bottom of the page is hidden, hence no need for scrollbars. Phoenix seems to do this just fine.
Code: Select all
body{width:100%;height:100%;background-color:#FFFFFF;text-align:center;}

Hm, it seems the authors wanted the document to take up the visible screen exactly. I don't even know if that's valid CSS. Either way, it seems Phoenix doesn't support it.
Code: Select all
body,table,input,textarea,select,button,label,form,legend,fieldSet,ol,ul,dl{
    font-size:12px;color:#000000;word-break:break-all;text-overflow:ellipsis;line-height:17px;
}

It seems the intention is for the individual stories (I'm assuming that this is a news site) are supposed to be cut off in order to allow the page to fit on one screen. The bit of code 'text-overflow:ellipsis' tells it to stick an ellipsis after each story that was cut off. Here's another thing that doesn't seem to be valid CSS, and Phoenix also doesn't support it (but maybe it does, I do see some ellipsis if I resize the window).

The W3C CSS 2 validator gives the following errors:
* Line: 5 Context : body , table , input , textarea , select , button , label , form , legend , fieldSet , ol , ul , dl

Property word-break doesn't exist : break-all
* Line: 5 Context : body , table , input , textarea , select , button , label , form , legend , fieldSet , ol , ul , dl

Property text-overflow doesn't exist : ellipsis
* Line: 66 Context : #idShowCart

Invalid number : cursorhand is not a cursor value : hand

So although text-overflow:ellipsis is not a valid CSS 2 command, the other odd constructs seem to be.

Note also that almost all dimensions in the CSS file are given in pixels - the line height is given at one point to be 15 pixels, no doubt in a (futile) attempt to get the entire page to fit on one screen.

So, Phoenix does in fact display this page more correctly than any browser that shows scroll bars. It does not however, display it perfectly - or at least how the author intended it. Whether or not this is broken CSS I will leave up to someone else.

Oh, and yes, my observations are with Chinese fonts installed.

Arctic Dragon
 
Posts: 199
Joined: December 16th, 2002, 4:44 pm
Location: Ottawa, Canada

Post Posted April 13th, 2003, 12:05 pm

Confirmed with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030411 Phoenix/0.5+

Tom Sommer

User avatar
 
Posts: 988
Joined: January 15th, 2003, 4:46 am
Location: Denmark

Post Posted April 13th, 2003, 3:17 pm

I blame the page, Phoenix does nothing wrong....

Overflow: hidden; hides all overflow.... and removes scrollbars...

Aqua.

User avatar
 
Posts: 489
Joined: March 5th, 2003, 4:38 pm
Location: North Carolina

Post Posted April 13th, 2003, 3:28 pm

Agreed, it's the overflow:hidden;

Also, with the page not centering, this is displaying properly because the way they tried to center is invalid.

Their positioning is also off.

In conclusion, I would not worry about this site. All of its troubles are of its own making, not phoenix problems.

ganlu
 
Posts: 96
Joined: March 16th, 2003, 4:58 am
Location: China

Post Posted April 14th, 2003, 6:21 am

so I will inform the webmaster of this site to correct

Return to Firefox Builds


Who is online

Users browsing this forum: Bing [Bot] and 3 guests