iframe width in IE

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

iframe width in IE

Post by bladecatcher »

G'day Guys,
I'm using an iframe to display data from links in a page.
see this test page http://www.shares.yardley.com.au/page.php?pid=forum

While the iframes display correctly in FireFox, the width is too wide in IE unless you minimise and maximise the window.

Is this an error in my code? If not can I work around the problem?

Is there an alternative to an iframe (must be used as a target).

tia
bladecatcher
sticksys
Forum Commoner
Posts: 33
Joined: Thu Aug 18, 2005 3:23 am
Location: Isreal
Contact:

Post by sticksys »

try:

style="width: yournumber; height: yournumber;"




maybe it will work...
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

Post by bladecatcher »

G'day Sticksys,
Thank you for your reply.
An unexpected result :-0

http://www.shares.yardley.com.au/page.php?pid=forum

cheers
blade
bladecatcher
Forum Commoner
Posts: 67
Joined: Sat Mar 12, 2005 12:50 am

[solved]

Post by bladecatcher »

G'day All,
The problem was not with the iFrame but was in the style sheet.
A new simpler CSS and it works as expected. I presume FF is a little more accurate in interpreting CSS.

cheers,
bladecatcher
Post Reply