473,473 Members | 1,491 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Tough float-drop / min-width issue - all code available, etc

1 New Member
Hello all.

I have yet another IE float drop challenge for you. I am aware that this comes up a lot, and I hope I'm not trying your patience by asking for help with it.

The page has 3 columns, center is fluid ('holy grail' type layout). Float drop happens when an IE user shrinks the window width to <620px, when the far right column (a PHP include called 'indexfeatures') pushes the content (a DIV called 'maintextbox') down.

What I want is that IE behave like Firefox, et al: not try to shrink content any more at a certain point, and to just add the scroll bar at the bottom.

The column layout is based on Paul O'Brien's website (link ) design.

It's pretty heavily modified, obviously, but the core concepts are there. The PHP file is here (the PHP include is the header and isn't really a problem here), the CSS file is here. I think everything is labeled well enough to understand... there's even a 'magic class' called iedropfix in there ... but it's empty :-+. We're mostly looking at'maintextbox' and how it's getting dropped by the #right DIV, the right-side include.

Currently, I have a workaround posted on the front page that uses this IE expression to define the width of 'maintextbox' using the * html hack:

width: expression(document.body.offsetWidth - 290);

My boss and I are running with that for now, but it makes the screen 'jitter' while the browser calculates the expression during a resize.

Strikes us as ugly and I've been searching for a solution ever since. I have tried the minus-margin solution around every chunk of DIVness I can think of.

I have tried this solution, the IE expresion solution I mentioned; this is where I found it.

And I'm stumped. If there's anything you want to know, please tell me. Other forums have not been able to help. I throw my misery on the forums' collective brilliance and hope!
Oct 17 '06 #1
1 2694
drhowarddrfine
7,435 Recognized Expert Expert
Validate your html and fix your many errors. This is not even correct html much less Xhtml. Misplaced tags, non-existant attributes, etc.
Oct 17 '06 #2

Sign in to post your reply or Sign up for a free account.

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...
6
by: Kennedy_f | last post by:
I did better in terms of score on this one than 291, but I found it much harder. Wordings of questions are difficult like the rest, but the DNS and CA scenarios were very tough to figure out. Take...
5
by: Vijay Kumar R Zanvar | last post by:
Hi, Just like counting the number of bits set to 1 in an integral variable, can we count the same in a float? I have two solutions in my mind: 1. union { float f;
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: troy anderson | last post by:
I have a System.Collections.Queue instance filled with floats and I would like to convert it into a float because a third party plotting package requires it. I have tried casting Queue.ToArray()...
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...
9
by: Gregory.A.Book | last post by:
I am interested in converting sets of 4 bytes to floats in C++. I have a library that reads image data and returns the data as an array of unsigned chars. The image data is stored as 4-byte floats....
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
22
by: ashkaan57 | last post by:
Hi, I am trying to put text on left and right side of the page and used: <div> <span>blah blah</span> <span style="float:right">blah blah</span> </div> The 2nd text does go to the right but the...
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.