Faulty css files or wrong html code?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi NG,

as a css newby I need help for to justify my css code. Or is it a problem
in the html code? Have a look to this faultiy page. Lower part of  the
text is in front fixed. All text was planned to go to the scrollable area,
not only the upper half.


I need the fixed head part and the *scrollable* text area and want to aviod
frames. The page with just the plain text and identical html code (no head
part) works:


See my css code below. Who can help? Many thanks in advance.

Peter Ostermann

*****   file no 1:

/* CSS Document,  IMHO needed for IE 5 and IE 6  */
html, body { overflow:hidden; }

#menu, #rahmen { position:absolute; }
#rahmen {
  height:expression(document.body.clientHeight - 420 + "px");

*****  file no 2:

/* CSS Document */
body {
#menu {
body>#rahmen { padding-top:px; }
body>#menu { position:fixed; }
body>#inhalt { position:static; }

Re: Faulty css files or wrong html code?

Scripsit Peter Ostermann:

Quoted text here. Click to load it

Multiposting alert.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela /

Re: Faulty css files or wrong html code?

On 1/20/2008 2:42 AM, Peter Ostermann wrote:
Quoted text here. Click to load it

    [CSS snipped]

The HTML has 38 errors, and the CSS has 3 errors.  Try fixing them.
Then see if your problems are resolved.

By the way, your non-CSS page has 33 HTML errors.

David Ross

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey.  Go to <http://www.seamonkey-project.org/ .

Site Timeline