By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,640 Members | 1,581 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,640 IT Pros & Developers. It's quick & easy.

A new BUG in IE... does somebody have an hack?

P: n/a
Another bug in IE 6 win. The posted page shows the error.
They are four:

1) on the top edge, the upper margin of the container is not added
with the body's padding. Instead it seems the two values are
COLLAPSED. With Opera, all right.

2) on the bottom edge, the container box loses its margin (only the
body's padding remains there). With Opera, all right.

3) the header loses the top, left and right margins. With Opera, all
right.

4) the footer loses the bottom margin. With Opera, all right.
I have already tried this hack: height:1%, but it doesn't resolve the
problems 1) and 2).
Someone has a better solution?

Bye. Luigi.


================== PAGE TO TRY =================

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>css</TITLE>
<style type="text/css">

body{
background-color: #BC8F8F;
border: 1px solid green;
margin: 0;
padding: 15px;

}

#container{
background-color: silver;
border: 1px solid black;
margin: 20px;

/* height: 1%; HACK: it doesn't resolve all of the problems */

}

#header{
background-color: blue;
border: 1px solid black;
margin: 10px;
height: 30px;
}

#contents{
background-color: cyan;
border: 1px solid black;
margin: 5px;
height: 30px;
}

#footer{
background-color: red;
border: 1px solid black;
margin: 10px;
height: 30px;
}

</style>
</HEAD>

<BODY>
<DIV id="container" >

<DIV id="header" >
&ndash;Intestazione&Ucirc;&brvbar;
</DIV>

<DIV id="contents" >
&ndash;Contenuti&&Ucirc;;&brvbar;
</DIV>

<DIV id="footer" >
&ndash;Footer&Ucirc;&brvbar;
</DIV>

</DIV>

</BODY>
</HTML>

================= THE END ===================
Jul 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
in comp.infosystems.www.authoring.stylesheets, Luigi wrote:
Another bug in IE 6 win. The posted page shows the error.
They are four:


Known for years. URL for your page?

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Jul 21 '05 #2

P: n/a
> > Another bug in IE 6 win. The posted page shows the error.
They are four:


Known for years. URL for your page?

Known for years? Good. Where can I find something about it?

PS My page is not on line. I attached it at the bottom of my first post.

Thanks. Luigi.
Jul 21 '05 #3

P: n/a
Luigi wrote:
Another bug in IE 6 win. The posted page shows the error. They
are four:
URL for your page?


PS My page is not on line.


Then put it online.
I attached it at the bottom of my first post.


That's nice. But I'm not going to create a page by copying code from a
usenet post in order to try to replicate a bug and provide a possible
solution. You want help? Then do some of the work yourself and supply a url.

--
Brian
Jul 21 '05 #4

P: n/a
>
That's nice. But I'm not going to create a page by copying code from a
usenet post in order to try to replicate a bug and provide a possible
solution. You want help? Then do some of the work yourself and supply a url.


Ok Brian, I understand...

Here is the URL:

http://spazioweb.inwind.it/osservato...ogico/bug.html
Thanks, Luigi.
Jul 21 '05 #5

P: n/a
Brian <us*****@julietremblay.com.invalid> wrote in message news:<OxqVd.65607$Dc.56757@trnddc06>...
Luigi wrote:
Here is the URL:

http://spazioweb.inwind.it/osservato...ogico/bug.html


http://validator.w3.org/check?uri=ht...ogico/bug.html


Alas... My provider has appended a SCRIPT section at the bottom of my
page.

However, the W3C validator finds 18 errors exactly in that script
section, not in the page's body.

So, I think the page is correct. But my bugs are still there.

I repeat: with the hack (height:1%) I can correct two bugs of four.

I only ask another hack to correct the bugs 1) and 2) if any.
Thanks Brian.

I'm waiting your impressions.
Luigi.
Jul 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.