PDA

View Full Version : Why doesn't <object> work in IE?



SmileUK
25-10-2008, 08:29 PM
Well I'm tyring to do this layout. And I've set <p> to be so far from the edges etc, but then I want to do like a "table" using divs.

The table is:

<object><div class="third">Hey</div>
<div class="third">Hey</div>
<div class="third">Hey</div></object>
it works fine in FF, but not in IE.

And btw, I can't take out the <object> or it doesn't start in the right place if that makes sense.

Iszak
25-10-2008, 09:09 PM
Just so you're aware - don't use divs/spans/etc in replace for tables if you're using tabular data, because that's the whole purpose of tables. As for why your object tag isn't working (or why you're even using one for that matter) I'm unsure.

SmileUK
25-10-2008, 09:46 PM
now you meantion about tables your right, but I found a way round it now, took out the <object> made a container so it works

D-Man22
29-10-2008, 02:29 PM
works fine in IE8.... I've used this method b4.... not the best! TABLES ALL THE WAY! :D

Robbie
29-10-2008, 02:31 PM
works fine in IE8.... I've used this method b4.... not the best! TABLES ALL THE WAY! :D

No, tables not all the way. Div's are so much better :P

Decode
29-10-2008, 02:34 PM
works fine in IE8.... I've used this method b4.... not the best! TABLES ALL THE WAY! :D
Divs load quicker than tables, however if you are trying to organize data, EG-

TIME DISTANCE
1:00 - 30m
2:00 - 60m
3:00 - 90m

-you should use tables.

Want to hide these adverts? Register an account for free!