Alright, I've searched the forums unsuccessfully for this, and had no luck with google either (but thats mostly because there is so much to wade through when it comes to IE hacks 🙁 ).
My problem seems to be a simple one, IE is improperly displaying a floated element.
The problem is this: I have two elements, an image floated left, and a block of text floated right. Simple enough. However, in IE 5+ the block of text just ends up underneath the image, but slightly indented.
I realize that the title is also misplaced in IE, I am just going to use the underscore hack to fix that momentarily.
I've attached screenshots to help
And here is the code:
edit: ok ive added a third screenshot, apparently the float works in that one... sort of.
If this has been brought up before and I just missed it, just link me, please.
Thanks for any input.
My problem seems to be a simple one, IE is improperly displaying a floated element.
The problem is this: I have two elements, an image floated left, and a block of text floated right. Simple enough. However, in IE 5+ the block of text just ends up underneath the image, but slightly indented.
I realize that the title is also misplaced in IE, I am just going to use the underscore hack to fix that momentarily.
I've attached screenshots to help
And here is the code:
Code:
.picture{
float: left;
height: auto;
width: auto;
}
.text{
float: right;
max-height: 500px;
width: 380px;
_max-height: 500px;
_width: 380px;
margin-left: 20px;
}
edit: ok ive added a third screenshot, apparently the float works in that one... sort of.
If this has been brought up before and I just missed it, just link me, please.
Thanks for any input.