I searched the archives looking for a fix to this problem and found that I 
had to create a new "block formatting context", which I did by adding 
overflow:hidden to the container of the nested float, which I did and it did 
change something, but nothing relevant.  Furthermore, the issue is different 
whether on FF or IE.

I made a sample page to show the problem and what I want:

http://satyam.com.ar/floats.html

Basically, I have a JavaScript library which generates some HTML and I want 
to show how you can completely change the layout of the page by using a 
different CSS className on the outermost container (possibly the body 
element) without changing the JavaScript at all.

The sample page above does not use JavaScript at all, I just copied the 
results of what the JS library would generate, to make it safe to see and 
easy to modify.  At his point I can modify both the JavaScript which 
generates the HTML and, of course, the CSS (that's the whole point).  The 
HTML generated, though, has to be the same for a labels-on-the-left to a 
labels-on-the-right layout, the difference should only be in the CSS 
definition used.

What I don't want is to have the user of the library to have to modify the 
library code or provide any arguments to the library functions to determine 
layout issues.  I don't want the visual designer to have to ask the 
programmer to do anything to change the layout.

Thanks

Satyam

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to