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 ! 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.
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 ! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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!!!
|
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;...
|
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...
|
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...
|
by: vjnr83 |
last post by:
Hi,
I have a doubt:
what is the difference between float **p and float *p?
Thanks in advance,
Vijay
|
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...
|
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...
|
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,...
|
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$) {
}
...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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,...
|
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...
| |