Click to See Complete Forum and Search --> : Object vs. IFrame


zer0
05-01-2005, 10:32 PM
I was working on my website as to make it HTML Strict compatible, and I fixed my IFrame so it would be an Object. For some reason, it offsets the top and bottom images. Help would be appreciated. The site can be found at http://www.zer0.co.nr/.

Fang
05-02-2005, 01:18 AM
iframes and nested tables :(
Add img {display:block;} to the css
and define the TD width:
<td valign="top" style="width:148px">
<table border="1" cellpadding="0" cellspacing="1" width="148">

tomvayne
05-02-2005, 04:35 AM
can i ask , what are the alternatives to frames, becasue i heard some saying that frames are eventually going to be dropped,and not used.

Fang
05-02-2005, 04:50 AM
Depends on what you want to achieve; alternatives are server-side scripting or JavaScript

zer0
05-02-2005, 11:07 AM
I'm guessing <div>'s with CSS, and <object>'s. IFrames are already deprecated. Anyways, thanks for helping me, I will try that out.

zer0
05-02-2005, 11:33 AM
You killed my site. Look.

Fang
05-02-2005, 04:06 PM
You killed my site. Look. :confused:

zer0
05-02-2005, 04:58 PM
http://www.zer0.co.nr/ - well, nevermind, I changed it back again. But please do look at /..index.php. That is the URL with the changes.

Fang
05-03-2005, 05:59 AM
The object height must be reduced by 2px

zer0
05-03-2005, 07:45 PM
It's funny how the size is different on different browsers. I wish they could all just get along. Either way, I will try that.

zer0
05-03-2005, 08:40 PM
Holy sh*t. Thank you. I am just curious, why is this so?

Fang
05-04-2005, 01:11 AM
I didn't check where the error was occurring, but probably in the iframe or iframe document border.