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

Float in IE 6

I'm attempting to eliminate tables from my diet and rely instead on
nutritious and tasty CSS. However, every time I do, IE6 makes me
nauseous.

In what I would think would be a very straight-forward layout, I have
a long, thin div on the left and two short, wide divs on the right --
a cinch to do in tables. (See www4.scoe.net/rfox/seeds2.) I added a
"float:left" to the left div so the other two divs would fall next to
it instead of below it. Works great in everything but IE6, where it
shoves the two right-hand divs down beneath the left box. How can I
make it behave consistently in IE6?

BTW, it looks fine in IE7, but unfortunately IE6 is still alive and
kickin'.

-Ray

Oct 23 '07 #1
2 3429
You might consider wrapping the blue and yellow boxes in a div
and giving that div the left margin and width and taking same off
the yellow and blue boxes
Thanks for the suggestion, dorayme, but it didn't work. Just wrapping
the two right boxes in another div still faces the same problem where
IE6 pushes them down beneath the div on the left. (See www4.scoe.net/
rfox/seeds2/index2.html.)

It seems like this should be so easy, but nuttin' seems easy with IE6.

-Ray
Oct 24 '07 #2
rf**@scoe.net wrote:
>
By shaving a few pixels off the width of the two right divs, they
popped up into place. (See www4.scoe.net/rfox/seeds2.)
FYI, there is a large amount of horizontal scrolling, even in a
1600x1200 maximized window, but it's just empty space over there on the
right. This is caused by improper use of position:relative on #loginbox,
which offsets is normal position by left:635px, pushing it off screen.
http://brainjar.com/css/positioning/

Also, the left column is longer than it's container and overlaps the
green footer. Zoom text up a little in Firefox and you'll see this, too.

Looks like you've got some extra <brin there. If that is an attempt to
make the container big enough to fit all the rounded boxes, it isn't
working. Get rid of them and learn the value of the "clear" property.
Apply it to the footer. See also
http://www.quirksmode.org/css/clearing.html

--
Berg
Oct 24 '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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.