471,120 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

more float-differences between EI and Gecko

Hi again,

This float-thing with IE is really killing me ... anyway here two new
questions:

1) Check out http://birkenmaier.org/a.php
If you display this using IE the margin between the left-middle blue
box ("Seitenleiste") and the lower blue box ("the credits") is double
as high as expected.
The problem can be fixed by having
#sidebar_frame {
...
margin: 0;
...
}
instead of
#sidebar_frame {
...
margin: 0 0 0.5em 0;
...
}
but then gecko (Firefox) is screwed up by not having any gap at all.
It does not help the leave out margins on #sidebar_frame and
#content_frame but put a top-margin to #footer_frame.

2) Another way to fix this, is having something like this:
#sidebar_frame {
...
margin: 0 0 0.5em 0;
// margin: 0;
...
}
The '//' are read as comment in Gecko but are ignored in IE. So IE
ends up with a margin of zero while Gecko has a lower-margin of 0.5em.
The question is, is this a generally accepted way of working around
this kind of problems and have differnt settings for IE and Gecko?

Thanks for your upcoming answers :-)
-Rainer
Jul 20 '05 #1
2 1823
check out:

http://css.maxdesign.com.au/floatuto...torial0801.htm

that should help you in all your needs to do a two colum layout with
header and footer.

Sincerely,
The Master

Rainer Birkenmaier <rb*****@birkenmaier.org> wrote in message news:<pa****************************@birkenmaier.o rg>...
Hi again,

This float-thing with IE is really killing me ... anyway here two new
questions:

1) Check out http://birkenmaier.org/a.php
If you display this using IE the margin between the left-middle blue
box ("Seitenleiste") and the lower blue box ("the credits") is double
as high as expected.
The problem can be fixed by having
#sidebar_frame {
...
margin: 0;
...
}
instead of
#sidebar_frame {
...
margin: 0 0 0.5em 0;
...
}
but then gecko (Firefox) is screwed up by not having any gap at all.
It does not help the leave out margins on #sidebar_frame and
#content_frame but put a top-margin to #footer_frame.

2) Another way to fix this, is having something like this:
#sidebar_frame {
...
margin: 0 0 0.5em 0;
// margin: 0;
...
}
The '//' are read as comment in Gecko but are ignored in IE. So IE
ends up with a margin of zero while Gecko has a lower-margin of 0.5em.
The question is, is this a generally accepted way of working around
this kind of problems and have differnt settings for IE and Gecko?

Thanks for your upcoming answers :-)
-Rainer

Jul 20 '05 #2
check out:

http://css.maxdesign.com.au/floatuto...torial0801.htm

that should help you in all your needs to do a two colum layout with
header and footer.

Sincerely,
The Master

Rainer Birkenmaier <rb*****@birkenmaier.org> wrote in message news:<pa****************************@birkenmaier.o rg>...
Hi again,

This float-thing with IE is really killing me ... anyway here two new
questions:

1) Check out http://birkenmaier.org/a.php
If you display this using IE the margin between the left-middle blue
box ("Seitenleiste") and the lower blue box ("the credits") is double
as high as expected.
The problem can be fixed by having
#sidebar_frame {
...
margin: 0;
...
}
instead of
#sidebar_frame {
...
margin: 0 0 0.5em 0;
...
}
but then gecko (Firefox) is screwed up by not having any gap at all.
It does not help the leave out margins on #sidebar_frame and
#content_frame but put a top-margin to #footer_frame.

2) Another way to fix this, is having something like this:
#sidebar_frame {
...
margin: 0 0 0.5em 0;
// margin: 0;
...
}
The '//' are read as comment in Gecko but are ignored in IE. So IE
ends up with a margin of zero while Gecko has a lower-margin of 0.5em.
The question is, is this a generally accepted way of working around
this kind of problems and have differnt settings for IE and Gecko?

Thanks for your upcoming answers :-)
-Rainer

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by ma740988 | last post: by
13 posts views Thread by Dylan Nicholson | last post: by
9 posts views Thread by Sisyphus | last post: by
3 posts views Thread by ehabaziz2001 | last post: by
13 posts views Thread by maadhuu | last post: by
14 posts views Thread by RSH | last post: by
20 posts views Thread by ehabaziz2001 | last post: by
8 posts views Thread by bearophileHUGS | last post: by
13 posts views Thread by Shirsoft | last post: by

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.