HTML - Iframe Background: Strange White Area In Ie If Size Exceeded
Hi everybody!
I always try to avoid the use of IFRAMEs, but in this case I had to insert the weather forecast coming from another site. This "source" website has an api which allows one to choose the background of the IFRAME, so no problems with the actual background indeed... but on IE 7 I see an ugly white spot if I set the "height" of the IFRAME to something bigger than the actual height of the content. (see attachment) This does represent a problem, since the actual content is variable in size, and thus I wanted to allow for some padding. I googled for the solution, but the only thing I can find is "how to set the background to transparent" which is not what I need. I tryed it anyway, as seen in following code: HTML Code: <iframe scrolling="no" frameborder=0 style="width:200px;height:490px;background-color:#000000;color:#000000;" allowtransparency="true" src="http://www.ilmeteo.it/box/previsioni.php?citta=5155&type=mps1&width=200&ico=1&lang=ita&days=3&font=Arial&fontsize=12&bg=000000&fg=FFFFFF&bgtitle=FF0000&fgtitle=FFFFFF&bgtab=E8F000&fglink=1773C2"> </iframe> The real problem is that I have no control on that white area, not even by setting bgcolor=black or style="background: black;"... Any ideas would be greatly appreciated! Similar TutorialsHi all! I need some help with an IFRAME, which content is loaded with some strange borders in Opera and IE6, but not with Firefox. This is what it happens in the 3 browsers: This is the code of the page: Code: <html> <body bgcolor="#96c600"> <iframe style="background-color:#96c600;" scrolling="no" frameborder="0" height="190" width="170" id="meteo" src="http://www.meteodirect.com/vignette/md_vignette.php?params_meteo=terrestre&langue=fr&fond=000000&texte=FFFFFF&saisie_met eo=TENDE"></iframe> </body> </html> A test page to give example is online at: http://testroya.100webspace.net/test.html I already tried to: - Set the width and heigt of IFRAME to match exactly the content size. - Set a green background to IFRAME - Set a green background to the table containing the IFRAME Anyway white borders are always here in Opera and IE6, but not in FF! What should I do to get rid of this awful borders? Thank you very much Hello, Im working on making a template. You can see it at : http://test.tamarawobben.nl/test.html as you can see there is a white area between the header and the rest of the content. Can anyone tell me how i can rid of the white area. Regards, Roelof I'm a quite new web designer. And i have some amateur questions, which im quit sure of that you can answer I have this website: http://www.game-portfolio.nl/ The index.html works with the table and content. But when i click on home.html it turns white. I have made an style.css and frame.css cause i'm working with frames. Anyone can answer this question on how to fix this white page into a colouring table. I'm not sure if this is more of a CSS or a HTML qustion I am building a interface for an on demand radio station (so just an FYI when you visit the link below the sound will start up) page in question: http://www.lcc.edu/radio/indexPlayer.aspx The problem that I'm having is that in IE 7/8 there is a strange and quite visible white border appearing around the iframe that is pulling in the radio player interface. This white border is not displaying in any other browser that I've tested thus far. Only IE Thank you for the assist. John I have an iFrame on my website as the main navigation. You click a text link on the left and the iFrame changes. BUT... when I click on a link on the left, the iFrame refreshes and goes to my homepage when it shouldn't. The pages are already made and the html looks ok. Anybody got ideas why this is happening? How can I make a white background for my paragraph so it will be blended with my image ? ( the post that has white/red roses ) I tried background color code but it moves my paragraph under my image ! Please help ! http://www.asianlabrys.com/forum/ind...20&#entry71823 Hi everyone, Recently i changed my portfolio page, and the new layout I have now has a Iframe in it. But for some strange reason when I press the menu-buttons on the right side I have to press it twice Portfolio Source Code from one of the Iframe pages: HTML Code: <html> <head> <title>Portfolio</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { background-color: #000; } --> </style> </head> <body leftmargin="0" topmargin="0"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="20"><a href="Contact.html" target="_self"><img src="images/Contact_left.jpg" border="0"/></a></td> <td width="20"><a href="Downloads.html" target="_self"><img src="images/Downloads_left.jpg" border="0"/></a></td> <td width="20"><a href="ICT-Beheer.html" target="_self"><img src="images/ICT-Beheer_left.jpg" border="0"/></a></td> <td width="825" align="center" valign="top" background="images/Webdesign_center.jpg"><br /> <br /> <br /> Welkom,<br /> <br /> Momenteel ben ik bezig met opvullen en indelen van de pagina's op deze site.<br /> Er zijn dus nog geen pagina's te bekijken.<br /> <br /> Kom gauw weer een keer terug zodra de website definitief af is!<br /> <br /> Mvg, Dream3R</td> <td width="20"><a href="Portfolio.html" target="_self"><img src="images/Portfolio_right.jpg" border="0"/></a></td> <td width="20"><a href="About.html" target="_self"><img src="images/About_right.jpg" border="0"/></a></td> <td width="20"><a href="Home.html" target="_self"><img src="images/Home_right.jpg" border="0"/></a></td> </tr> </table> </body> </html> I tried removing the Targets.. but no result, but its the only thing I could think of.. Here's a site I did recently: http://www.siaacoustics.com I don't know why but when I'm loading the page there's lots of white flashes - in the main content window, you can see this black box only around the text before the rest of the window fills in. There are embedded Flash movies in the top, navigation + content frames - is this what's causing this white flash? Anyone have any ideas? FISHPAWS I'm editing a tumblr, with complete custom HTML, and I was wondering how I'd either add one fixed white rectangle going down the page vertically (the posts are centered on the page, but the page background is too distracting from the posts themselves). Or, how I would just add white borders around each individual post? This should explain the look I want (with different colors/ background/ etc) Hey guys, http://www.cedarcreekyouth.org/chat.html My iFrame on that page is set at like 90%.. I can't figure out why it is so small.. Please help, I've tried everything I could think of. Please & Thanks you! Cody Hi, I can not seem to be able to change the size of my Iframe in fire fox, got eny ideas why it is not working? HTML Code: <iframe src ="http://google.co.uk" width="100%" height="350%"> </iframe> Hello. My site is MoveHumanityForward.org and I'm trying to make the Facebook "like" area aligned on the right side with everything else, and have the remaining items go lower. Can you point me in the right direction? Thanks, Mikeal I'm fairly new to making websites, and I want to make a website with a full screen background image jpg, but I'd like it to be full screen in all resolutions. Is this posible? I want to use this image as a background http://img236.imageshack.us/img236/4...dexbackcu3.jpg and then add menus and text content. any tips? thanks! jdawest How to set width & height of background image ? Since generally we set background image for anything like table, div tag etc. but i need that the image size is very shot while assigning as background image so how can i manage this width & height ? Please tell me that how can i do it bcoz I am not able to resize it by css also. OR Whenever I put any image in background then it must show me full image not a croped image whether cell size is low or very high...Generally it crops image or sometimes it repeats image 2 or more times. Since i know i can stop the repeating image but I want to know to put the fully image in cell / table / div etc.. Regards.... Hi guys, I'm currently trying to sort out the background for a website. What I'd like is to have a silhouette of a few people on a gradient background. I'd like to keep the quality high, but it also makes the file size large. If there were no silhouette then I would have a one pixel strip of the gradient set to repeat. Is it possible to add two background pictures, or is there another way I can reduce the file size that I hadn't thought of? Hey, I use an external css style sheet for my website but I use iframes on my pages to keep the text within the design. On my style sheet I have a background picture. What would be the easiest way to override the background image w/ a color for this iframe? Thanks. When you create a select form with a default size or a size of 1, the options (once you expand the form out by clicking it) that are moused over will be highlighted. I want that same effect on a select form with a size of 30. I imagine the solution lies in some javascript onmouseover function, but I couldn't find anything. Help? Hi, I would like to know if I can make the background image (over which I will write the content of the page) to fit the space I'm using. For example, I don`t how to explain it , but I see sites with the navigation bar image or the content image to adapt its size according to the amount of text on them. And then it seems like they are infinite, again, it adapts to the isze of the page. But my background image stays the same size all the time and I can see the end of it. I know I didn`t explain it very well but I don`t know exactly what I need to do this so, if someone could help me, thanks a lot. <IFRAME SRC="leo.html" margin="0" FRAMEBORDER="0" style="background-color: black;" NAME="main" width="790" height="480" scrolling="--"></iframe> When I load just a picture into the frame, just simply a jpg as a link into the frame the background is black in mozilla/ff but white in IE? Any suggestions? Thanks, Leo Ok I'd really like to design a darker them with a lot of textures like this one: http://www.grafpedia.com/tutorials/c...o-pixel-layout But thats just a photoshop walk-thru. So how would you go about making a background like the one shown with a couple of different textures without making just 1 large huge image? I'm worried about download times as I have my background image as a 1px image set on repeat. But if I choose to have a site design like shown in that link, I cant use the 1px image size option any more, or can I? Basically I'm lost as to how to get my site to look like the design in the link. Here it is now: http://acidtripmediaproductions.com/lmi/index.html I'd like to extend the main center div to go from the top to the bottom and "Frames" all the content within it Whats the easiest way to do that? Would I want to keep the side bar nav where its at if I do this? |