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,
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?

Quoted text here. Click to load it
Just post a URL (we can view the code through a range of options.
BTW fix your errors.
http://validator.w3.org oh and use a strict DTD to get IE out of
quirks mode.
Regards Chad. http://freewebdesignonline.org

Re: Faulty css files or wrong html code?

Scripsit Chaddy2222:

Quoted text here. Click to load it

The question was multiposted, and you're saying that the markup is
invalid. Enough said.

Jukka K. Korpela ("Yucca")

Site Timeline