Click here to get back home

Faulty css files or wrong html code?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Faulty css files or wrong html code? Peter Ostermann 01-20-2008
Posted by Peter Ostermann on January 20, 2008, 5:42 am
Please log in for more thread options
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.

http://home.nwn.de/peter.ostermann/bookkeepdoku_test.htm

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:

http://home.nwn.de/peter.ostermann/text.htm

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

Regards
Peter Ostermann

***** file no 1:

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

#menu, #rahmen { position:absolute; }
#rahmen {
top:420px;
left:0;
height:90%;
height:expression(document.body.clientHeight - 420 + "px");
width:100%;
overflow:auto;z-index:3;
}

***** file no 2:

/* CSS Document */
body {
height:100%;
margin:0;
padding:0;
}
#menu {
left:0;
top:0;
width:100%;
height:420px;
background:white;
z-index:4;
}
body>#rahmen { padding-top:px; }
body>#menu { position:fixed; }
body>#inhalt { position:static; }













Posted by Jukka K. Korpela on January 20, 2008, 6:38 am
Please log in for more thread options
Scripsit Peter Ostermann:

> Hi NG,

Multiposting alert.

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

Posted by David E. Ross on January 20, 2008, 1:18 pm
Please log in for more thread options
On 1/20/2008 2:42 AM, Peter Ostermann wrote:
> 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.
>
> http://home.nwn.de/peter.ostermann/bookkeepdoku_test.htm
>
> 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:
>
> http://home.nwn.de/peter.ostermann/text.htm
>
> See my css code below. Who can help? Many thanks in advance.
>
> Regards
> Peter Ostermann

        [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
<http://www.rossde.com/>

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

Similar ThreadsPosted
Share common HTML code among different HTML files? May 14, 2005, 11:05 pm
Simple (!) HTML/PERL code fpr uploading files through web pages entyr field ?? November 18, 2004, 11:12 pm
IE and AVI files / code. February 24, 2006, 7:55 pm
Code added to my XHTML source files giving problems November 18, 2005, 6:56 pm
Problem with downloading Word doc files and rtf files through browser January 25, 2005, 5:33 pm
Sycronize files with HTML January 24, 2005, 1:48 pm
Flatten a collection of HTML files into one March 24, 2005, 12:39 pm
trouble using html tidy with template files March 4, 2006, 1:12 pm
Link to a frames based page links to wrong html file. June 14, 2006, 6:53 pm
changing file name in "Save as" option for html files October 26, 2005, 3:43 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap