473,386 Members | 1,958 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,386 software developers and data experts.

IE6 and FF2 / Op9 problem (float?)

Sorry about the rather vague subject, I'm only guessing I have a "float"
problem -- chances are it's something v-e-r-y simple (like me!).

(This is also my first question to the group, so apologies in advance if
I'm doing something else wrong -- including posting in the wrong group!)
Test stuff is at:

HTML http://www.horshamhc.co.uk/site07/pitchtestlive.htm

CSS http://www.horshamhc.co.uk/site07/hhcstyles.css
http://www.horshamhc.co.uk/site07/hhcddtabs.css
As you might expect, the above page renders differently in IE6 than in FF2
and Opera 9 -- IE6 showing the desired result.

To summarise, the footer appears as desired in IE6, but somewhat
differently in the others, and I'm at a loss as to where the cause lies.

I'm hoping one or more of you might have the time to have a look and point
out what I should be doing!

TIA

Pete
--
www.lightningnews.com Lightning fast anonymous usenet downloads for 5$ only !
Jul 5 '07 #1
2 1598
On 2007-07-05, Pete Horrobin <re*****@viause.netwrote:
Sorry about the rather vague subject, I'm only guessing I have a "float"
problem -- chances are it's something v-e-r-y simple (like me!).

(This is also my first question to the group, so apologies in advance if
I'm doing something else wrong -- including posting in the wrong group!)
Test stuff is at:

HTML http://www.horshamhc.co.uk/site07/pitchtestlive.htm

CSS http://www.horshamhc.co.uk/site07/hhcstyles.css
http://www.horshamhc.co.uk/site07/hhcddtabs.css
As you might expect, the above page renders differently in IE6 than in FF2
and Opera 9 -- IE6 showing the desired result.

To summarise, the footer appears as desired in IE6, but somewhat
differently in the others, and I'm at a loss as to where the cause lies.

I'm hoping one or more of you might have the time to have a look and point
out what I should be doing!
The problem is you've set height: 100% on #container (around
hhcstyles07.css: 450). That makes its height 100% of the viewport, which
means #txt3colMain overflows it unless the viewport is very tall. The
footer however starts where #container ends, which means it ends up
behind the overflowing part of #txt3colMain.

So just lose the height: 100% on #container, I can't see what you need it
for anyway: it has the effect of pushing the footer slightly off the
screen, which is too high if the screen is shorter than #txt3colMain and
probably slightly too low otherwise.
Jul 6 '07 #2
Ben C <sp******@spam.eggswrote in
news:sl*********************@bowser.marioworld:
On 2007-07-05, Pete Horrobin <re*****@viause.netwrote:
>Sorry about the rather vague subject, I'm only guessing I have a
"float" problem -- chances are it's something v-e-r-y simple (like
me!).

(This is also my first question to the group, so apologies in advance
if I'm doing something else wrong -- including posting in the wrong
group!)
Test stuff is at:

HTML http://www.horshamhc.co.uk/site07/pitchtestlive.htm

CSS http://www.horshamhc.co.uk/site07/hhcstyles.css
http://www.horshamhc.co.uk/site07/hhcddtabs.css
As you might expect, the above page renders differently in IE6 than in
FF2 and Opera 9 -- IE6 showing the desired result.

To summarise, the footer appears as desired in IE6, but somewhat
differently in the others, and I'm at a loss as to where the cause
lies.

I'm hoping one or more of you might have the time to have a look and
point out what I should be doing!

The problem is you've set height: 100% on #container (around
hhcstyles07.css: 450). That makes its height 100% of the viewport, which
means #txt3colMain overflows it unless the viewport is very tall. The
footer however starts where #container ends, which means it ends up
behind the overflowing part of #txt3colMain.

So just lose the height: 100% on #container, I can't see what you need
it for anyway: it has the effect of pushing the footer slightly off the
screen, which is too high if the screen is shorter than #txt3colMain and
probably slightly too low otherwise.
Thank you Ben, that'll do nicely!

I was so convinced I'd stuffed up somewhere with floats and/or positioning
I didn't think to look at this. Unfortunately, I can't help you with an
answer as to why I'd put it there in the first place -- I've no idea,
though it was probably just a bit of over-enthusiastic cut-and-paste!

Thanks again for your help -- it is much appreciated.

Pete
--
www.lightningnews.com Lightning fast anonymous usenet downloads for 5$ only !
Jul 6 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Pat | last post by:
Give two double-typed variable X and Y. If (X==Y) is true, then how about the following results: (float(X) > float(Y))? (float(X) < float(Y))? (float(X) >= float(Y))? ( X > float(Y) )? ( X...
14
by: Glen Able | last post by:
Should it be possible to create a custom class, 'Float', which would behave as a drop-in replacement for the builtin float type? As mentioned in another thread, I once tried this in rather a...
16
by: Gerald Lafreniere | last post by:
{ float F=123.456000; F*=1000; // Actually I used a for loop F*=10 three times. printf("%f\n", F); } This will produce something like 123456.00XXXX, where XXXX are garbage digits. Why...
6
by: Dave win | last post by:
Hi all: I'm confused with the expression "(float *())". Book says that this is a cast. But, I have no idea of this expr. why could this expr ignore the variable??? Thanx!!!
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;...
11
by: Marc Pelletier | last post by:
Hello, I am having trouble implementing the following callback: CNCSError CECWCompressor::WriteReadLine(UINT32 nNextLine, void **ppInputArray) where ppInputArray is a 3 by x array. The...
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: vjnr83 | last post by:
Hi, I have a doubt: what is the difference between float **p and float *p? Thanks in advance, Vijay
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...
3
by: Arnie | last post by:
Folks, We ran into a pretty significant performance penalty when casting floats. We've identified a code workaround that we wanted to pass along but also was wondering if others had experience...
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: 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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.