473,320 Members | 1,930 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,320 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 1871
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: ma740988 | last post by:
I've got an unpacker that unpacks a 32 bit word into 3-10 bits samples. Bits 0 and 1 are dont cares. For the purposes of perfoming an FFT and an inverse FFT, I cast the 10 bit values into doubles....
13
by: Dylan Nicholson | last post by:
I just posted regarding a possible floating point error (not sure where), and have since discovered that: float f = 5.15002; double d = 5.15002; if (float(d) < f) puts("huh 1?"); float f2 =...
9
by: Sisyphus | last post by:
Hi, I have some software that does the following (in an attempt to determine whether the double x, can be represented just as accurately by a float): void test_it(double x) { float y = x;...
3
by: ehabaziz2001 | last post by:
I know one of the pointer benefit is that we can return more than one value from a function . The down program has an error that I can not discover . That is the call of the function : The Call:...
13
by: maadhuu | last post by:
hello , i would like to know as to why double is more efficient than float . thanking you, ranjan.
14
by: RSH | last post by:
I am exploring OOP and I am trying to get a grasp on the basics. Below is the code that creates a basic Person with basic properties. I also have an Orders Class where Orders are made by...
20
by: ehabaziz2001 | last post by:
That program does not yield and respond correctly espcially for the pointers (*f),(*i) in print_divide_meter_into(&meter,&yds,&ft,&ins); /*--------------pnt02own.c------------ ---1 inch = 2.51...
8
by: bearophileHUGS | last post by:
sys.maxint gives the largest positive integer supported by Python's regular integer type. But maybe such attribute, with few others (they can be called min and max) can be given to int type itself....
13
by: Shirsoft | last post by:
I have a 32 bit intel and 64 bit AMD machine. There is a rounding error in the 8th digit. Unfortunately because of the algorithm we use, the errors percolate into higher digits. C++ code is...
1
by: mactelesis | last post by:
I have searched for "vertical stretch, align, etc." and have tried (and failed) with all of the solutions to stretch the "#nav vertical" div so that it streches to the height of the page. As you can...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.