IFrame size issue
Autor: MD Kamrul Hassan
Visited 3316,
Followers 1,
Udostępniony 0
Hi, Greetings to every one..
how are you (all of you) today? hope fine..
i m facing a issue/problem.. (due to lack of my knowledge)
i am using a IFrame object on my page to show banner. I put the iframe size same as banner size ..
for example if my banner is 728x90 the. i use IFrame width 728 and height 90
it works nice on IE (internet exploer) and FF (Firefox) but on Google Chrome it show scroolbar.. :(
please check out the attached image..
any idea?
thanks in advance..
best regads
Posted on the
Are you using their chromium preview browser or Google Chrome, Please supply your URL so it can be emulated. At first glance it looks like you have not included no scroll in the script but I may be wrong. Have you tried increasing imcrentally the size and see what affect it has on Google (crap) Chrome?
ciao,
see example: http://www.zspace.it/kolasim/website/iframedivnoscroll/pagina_1.html
style in CSS tab of the object html code:
body #ObjectNameXYZ {overflow:hidden;}
see: * -- Custom code START -- *
http://www.zspace.it/kolasim/website/iframedivnoscroll/res/p001.css
.
bye, KolAsim ( - IT) (google translate)
Autor
sir, i have set overfloow: hidden on iHTMLObject style and laso on iFrame but don't works :(
any idea please?
thanks in advance..
best regards
ciao,
... LINK ...?...
.
Hello Hassan,
Please provide a link to the page to see what exaclty happens to the iframe.
Many thanks!
Autor
http://www.siamcomputer-bd.com/affiliate-banners.php
please check out that link
1. you will notcie on Chorome there is scrolbar
2. if you check on IE you will see it is not showing properly (color) issue..
please help me out asap
best regards
... sezione HEAD :
<style> body #imCell_6{ overflow:hidden;} </style>
____________________________________________________
... 1° IFRAME :
<iframe src="./banner.php?size=300&id=Sample" width="300" height="250" marginwidth="0px" frameborder="0" scrolling="no"></iframe>
...
ciao, KolAsim ( - IT)
Autor
thanks a lot sir..
scrolling="no" was the culrprint and it works but not fully..
if you check.. you clearly you will notice that.. below part (i mean few pixcel from botton is cut down) :(
i hope i m clear..
thanks again for your help
best regards
Autor
it's seesm it's (chrome) show top margin (it's not honring margin=0 value) ?
Autor
sir, " KolAsim", please check out the attached file: (image)
1. IE: it shows (size) perfect/ok with/without scrolling paramater.
2. Chrome: it seems bottom part got cut down. If you compare with 1, you will notice that there shoud be few pixel more in bottom (i mean banner part)
3+4.Chrome: For better understadning.. Number 2. I remove auto scrolling and you see there is white/blank saplce in top and also on bottom (4)
5. IE: Thought size is working good on IE. But you see color (text backgroudn color) and text color also not working here :) can you help me on this too ? please? Chrome issue is bit less important but IE is bigger headche :(
6: Chrome: In all case, color is fine on chrome and Firefox too :)
i hope i have gave you enough inoformaton.. please check the the attached image and please help me out :)
best regards
ciao,
>> VEDI >> http://www.zspace.it/kolasim/website/iframeIngleseK/pagina_1.html
... cambiare ID con: #imCell_6, #imCell_39, #imCell_40
.
ciao, KolAsim ( - IT)
Autor
thanks agian for your reply sir.. but i dodn'lt understand..
and also i can't use any code in header (head tag part) because as you may already know that those are for 3rd party users banner. I mean other user will use my banner. So, they will not agreed to add a code also within <head> tag. i hope i m clear. sir..
and can you explain wha tis the differece in 1,2 and 3 with my <irame> code.. i am very sorry if i am asking a lot :(
once agian thanks a lot for your reply
best regards
Autor
thanks a lot sir.. it's works like charms :)
I m so please on you by your response..
sir, if you don't mind then would you please also consider to help me about the another issue?
IE issues:
please download and check out the follwing file. Blue and pink arrows means ok/good and red arrows means problem with it.
http://www.siamcomputer-bd.com/outsourcing/downloads/31fbb613fb9d6d1ef4b3a4abe3cfb465/IE Issues.zip
once again thanks a lot for your kind help
best regards
... NO head ...
... object height + 3 pixel
http://www.zspace.it/kolasim/website/iframeIngleseK/pagina_2.html
.
best regards, KolAsim ( - IT)
Autor
:( what about the IE issue sir?
.. IE.7 (!) ... regolare, bene, okay ...
(google translate) ... I would not know
try tooperateCompatibility ViewbuttonforIE.9
.
bye