07-20-2005, 02:41 AM
If i don't have quirks mode:
<!----> above doctype
my page crashes IE and does not render properly, either.
I believe it to be this expression:
width: expression(document.body.offsetWidth - 400);
why does this happen (other than ie sucks)
and are there better hacks to use to make my page more IE compatible??
god i hate ie.
07-20-2005, 02:52 AM
Not sure why it crashes, I don't use expressions in my pages. The question would be what are you trying to do with the expression? Make a fluid middle column? This can be achieved by floating the left column to the left, then the right column to the right, and then the middle column should have left and right margins to clear the left and right columns. Your html would have to in this order
07-20-2005, 02:55 AM
I had that origionally, but as far as i could understand this disabled my ability to use <br style="clear:both;" /> in the center column, which i wanted to prevent floating items in the mid column from extending beyond the entry div's
07-20-2005, 02:59 AM
You can't style a br tag, its been discussed in the forums. If your middle column has enough margin on the left and right side float elements shouldn't be move into it.
07-20-2005, 03:05 AM
oh really? i'll look into that no styling BR,
but my problem with floating left and right columns isnt that they intrude on my mid column, its that I occasionally want to "clear both " within the center column.... follow me? like if i have an entry with a image floated left, i want to clear it before the next entry in the mid cloumn starts, but i dont want that to drop the mid column down below the side columns. am i confused?
07-20-2005, 03:09 AM
The clear would work fine in the middle column, use a div to clear:both; setting the line-height to 0 and putting inside the div. Maybe you can mark up an example of what you are trying to explain. That could help.
07-20-2005, 03:52 AM
see how the center column has 2 "ENTRY" div's but, the second one is dropped below the side columns?
Is there a way around this other than absolutely position the side columns?
the beast way i can think to say it is:
I want to clear:both column specific, or within in a div.
07-20-2005, 04:31 AM
That is some strange behavior. I've never seen FF act that way. The clearing div should just extend to clear the image.
07-20-2005, 04:56 AM
really.... well ****! am i cursed? it's all that trash talkin i've done about ie... ie has infected my mind! (thanks btw, didnt say thanks yet, so THANKS!... and ill thank you again, when we figure it out...)
07-20-2005, 05:37 AM
Okay well you might be able to use this
</script> for IE and just use the original layout you had.
Pepe, the bull
07-20-2005, 05:46 AM
I'm not sure how clean of coding this is, but you could do away with the clear:both; divs and just set the height of the individual div that has the pic to the height of the pic.
07-20-2005, 05:57 AM
thanks, engineer, I'll prolly use that untill i can think of something else.
in honesty, I'd like to use the float for side columns, so i can stick a footer at the bottom, but i cant do that if i absolute the sides. grrr.... dam u, IE!
found info on this if others have questions, 2.
near the bottom: sections:
A Word Of Warning (this is important!)
Preventing External Clearing