473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
6 1664
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
> > 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
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
>
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Haines Brown | last post by:
I thought I had understood this issue and implemented a work around, but now when I check on IE5, it is not working: ... #IE-hack { margin-left: auto; margin-right: auto; width: 20em;...
11
by: Chris Beall | last post by:
Here's the problem: http://pages.prodigy.net/chris_beall/Demo/theproblem.html The page contains inline text, then some additional pairs of text which are floated right and left. (This is a...
10
by: BlueDolphin | last post by:
I'm not sure if this is a question or more of a rant... but I'm looking for some input on this from other developers out there. How often has the following happened to you and how have you dealt...
1
by: Richard | last post by:
A menu page has a set of A tages in a UL The menu (in IE) will only get the hover visualization if the mouse rolls over underlined text. I want it to happen if the rollover occurs anywhere in...
25
by: Peter Michaux | last post by:
Hi, I'm thinking about code minimization. I can think of a few places where whitespace matters a + ++b a++ + b a - --b a-- -b when a line ends without a semi-colon in which case the new...
0
by: Xah Lee | last post by:
In this article, i explain how the use of bit masks is a hack in many imperative languages. Often, a function will need to take many True/False parameters. For example, suppose i have a function...
11
pbmods
by: pbmods | last post by:
A somewhat obscure hack has emerged recently that is an offshoot of the now-infamous XSS. It is known as Cross-Site Request Forgery, or XSRF for short. XSRF is a form of temporary identity theft...
7
by: badc0de4 | last post by:
Is this a stupid hack or a clever hack? Is it a "hack" at all? ==================== #include <stdio.h> /* !!HACK!! */ /* no parenthesis on the #define'd expression */ #define...
0
by: freehackers | last post by:
FreeHackers Group : Only 6 Steps to get cracked your target password 1- Fill in the E-Mail Cracking order form , to the best of your knowledge “contact us to freehackers.007gmail.com with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.