Michael Larocque wrote:
>Hi all,
>
>I'm baffled by a 40 pixel band of white which shows up at the top of
>my pages in Internet Explorer, version 6. I've found something
>related in the archives from a few years ago, but it doesn't seem to
>apply. The strange thing is that this didn't happen on our test
>system, but it does in production. As soon as one scrolls down and
>then scrolls back up the page appears as it should.
>
>URL: http://trinaread.com/
>CSS: http://trinaread.com/css/style.css
>
>Any pointers appreciated.
>
>Thx,
>Mike
>
Hi Mike,
I downloaded the file, but could not reproduce it locally either. Maybe
removing the { margin-top: 20px; } from the body style and assigning
this to the #body-home style will help.
Then I (=Tidy) noticed an <a name="06"></a>, while a name-property may
not start with a number:
===
Cause:
In XHTML, the "name" attribute has been deprecated and replaced by the
"id" attribute. If you want to keep both tags for compatibility reason,
name and id, the values should be the same. This error is generated when
only the name exists and that tidy try to copy the value of the name in
the id attribute. But an "id" must begin with a letter ([A-Za-z])
<http://www.w3.org/TR/html4/types.html#h-6.2>.
Solution:
BAD : <a name="123456">...</a>
BAD : <a id="123456">...</a>
DEPRECATED: <a name="my_link">...</a>
GOOD : <a id="my_link">...</a>
GOOD : <a id="my_link" name="my_link">...</a>
References:
XHTML W3c spec: name attribute: http://www.w3.org/TR/xhtml1/#h-4.10
XHTML W3c spec: name and id http://www.w3.org/TR/xhtml1/#C_8
<http://www.w3.org/TR/xhtml1/#C_8>
ID W3C spec: http://www.w3.org/TR/html4/types.html#h-6.2
===
Last notice: the file [http://trinaread.com/js/basic.js] is no real js,
but a 404 html page; perhaps it needs a document.write('.......') around
the content.
Anyway, with an uploaded testfile (with the corrections as above) to my
ISP: IE is displaying correctly.
http://home.tiscali.nl/developerscorner/css-discuss/test-trinaread.htm
Greetings,
francky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/