|
DIV Tags in Mozilla
I have been having trouble with DIV tags in Mozilla. I use Mozilla Firefox 0.8 for Windows. I don't have any examples right now, but I test the same page in IE 6.0 and it looks fine.
I have two div tags side-by-side. They each say float: left. The left one is shorter than the right one but I don't want to limit the lengths of either one. The right one says float: left and clear: right. This way, if the contents of it are longer than the left column, it stays seperated into columns. However, what happens is if I put a p tag with a sentence in it, for example, and the text is just slightly longer than the space provided, I expected it to wrap the text, which it does in IE. However, in Mozilla, it moves the entire div tag under the left div tag instead of to the right of it. Then, if it still doesn't fit, it wraps it anyways.
I don't know if I explained this too well, but if anyone gets what I am saying, and if you know how to fix that, please let me know. Thanks.
__________________
-Jon
Computer Science Major
Georgia Tech
Former Team Leader
FRC Team 180
|