Using Inline Frames

admin

Administrator
Staff member
Would you recommend using IFRAME? Do you people think it's very professional or not? I am using a regular HTML page with no frames whatsoever, but I've seen many sites lately implementing IFRAME's. So what's your opinion?<!--content-->you use it to suit your needs, if you're after a certain layout/funcionality to your site which requires an iframe then go ahead and use it, it can look professional no probs. The main problem i see is with search engines indexing the iframe page out of the parent, but you can use javascript to detect it's out of the parent and redirect it.<br />
nestcape supports iframes from version 6. <br />
:)<!--content-->As leo said iframes can certainly allow you to boost the quality of your site, better looks, better navigation etc ...<br />
<br />
But there are some things u gotta keep in mind, only the newest browsers support inline frames, browsers sometimes have trouble indexing your pages, ...<br />
<br />
But you can perhaps just go for table cells with overflow or a layer with scolling. That should get u rid of the searchengine indexing problem but leaves you with the browser compatibility problem.<br />
<br />
Overflow code<br />
<br />
<style type="text/css"><br />
<!--<br />
scroll {<br />
background-color: #FFFFCC;<br />
overflow-y: scroll;<br />
}<br />
--><br />
</style><br />
<br />
<br />
<table width="100%" border="1" cellspacing="0" cellpadding="2"><br />
<tr class=scroll> <br />
<td>content</td><br />
<td>content</td><br />
</tr><br />
</table><!--content-->yes, compatibility, so is there no answer for IFRAMEs and Netscape and or other incompat brosers, I have my site set up with various IFRAMEs and I just don't see a way around them, I like how they work very much and I would hate to remove them, do we just have to wait until Netscape and the rest get their act together?<br />
<br />
<br />
BTW, I like the new buttons<!--content-->mozilla and NS6+ and IE and I think Opera all use iframes now.<!--content-->true they do, but it doesn't seem to be 100% support like in IE, 'cuz I submitted my site to Doctor HTML and neither Netscape 7.0 or Opera 6.0 liked the IFRAME variable "BORDER" and Opera also didn't like the variable "FRAMEBORDER" and when I try to view my site in NS 7.0 everything's fine 'till it hits the IFRAME then the whole site goes cataclysmic on me<br />
<br />
SITE (<!-- m --><a class="postlink" href="http://www.thefourthcontact.com/origin.php">http://www.thefourthcontact.com/origin.php</a><!-- m -->)<br />
<br />
<br />
sorry to bug you again Scoutt, I try to stay out of these forums as much as possible, blast that infernal code, thanx again for hooking it up last time<!--content-->The reason that Netscape and Opera don't like the "border" attribute is because there is no such attribute in the HTML 4.01 spec. You might want to take care of the errors on your page (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.thefourthcontact.com%2Forigin.php&doctype=%28detect+automatically%29&charset=iso-8859-1+%28Western+Europe%29">http://validator.w3.org/check?uri=http% ... +Europe%29</a><!-- m -->) and see if that helps any.<!--content-->I tried fixing the errors, but nothing worked, what is the correct attribute for not having a border in HTML 4.01, or the attribute that should be used instead of "BORDER" or "FRAMEBORDER"?<!--content-->out of 32 errors you are worried about 1, fix the others and see what you get then. just take the border out of the iframe.<!--content-->not that I'm not worried about them, just that this one is the most important to me, as I don't want a border and if I get rid of that attribute then a border is added and that just craps up the look of the page, so that's why I asked if there was some alternative that netscape would like, personally I couldn't care less about Netscape, it is crap IMO, but I guess I do not want my page looking all horrible in that browser<!--content-->oh and what 32 errors? all that came up for me was like one missing </td> tag(I fixed that one) and then a bunch of errors about needing the "ALT" "WIDTH" and "HEIGHT" values, I didn't really see those as critical<!--content-->Originally Posted by Revenant<br />
oh and what 32 errors? all that came up for me was like one missing </td> tag(I fixed that one) and then a bunch of errors about needing the "ALT" "WIDTH" and "HEIGHT" values, I didn't really see those as critical<br />
<br />
If the validator is flagging these as ERROR's, might it not be an idea to pay attention to them?<br />
<br />
ALT is a required attribute - you may not think it is, but what about people who a) don't view pictures by default b) use text-based browsers, and c) what about when your image can't be Download <!--more-->ed for whatever reason.<br />
<br />
WIDTH and HEIGHT are used to allow the browser to draw the quickloading parts of the page, without waiting for the slower parts. Trust me - this makes for a page where people will stop and view.<br />
<br />
<br />
A "border" attribute could probably be replaced by CSS.<!--content-->True, I hear what you're saying, and I'm not trying to say that I don't care, just that my site is somewhat graphic-heavy and one of the main focuses of the site is art, so if people are not viewing the pictures or using a text-based browser then what really are they doing at my site anyway, that's all I'm trying to say, but yeah I'll take care of those errors eventually, oh, and how could CSS help, with a stylesheet or just a style tag?<!--content-->either - you can use in line styles, but if you use it a lot in the page, then an embedded stylesheet is better (only one change for the whole page), and if you use it a lot across many pages, then an external stylesheet is better again.<br />
<br />
<br />
CSS can help because styles are supported pretty well cross-browser - while the border attributes are not standard.<!--content-->cool, I'll try it with CSS, thanx to everyone for the help<!--content-->Originally posted by Revenant <br />
personally I couldn't care less about Netscape, it is crap IMO, but I guess I do not want my page looking all horrible in that browser <br />
uhhh Netscape is one of the best browsers on the market. but depending on what version you are talking too. NS6+ is one of the best. NS4.xx shouldn't even be coded for. <br />
<br />
and I wouldn't worry about Doctor Html, he doesn't make the standards, or that error. leave it in there. does it take the border away in NS? then leave it. there are some things that you just have to leave for the site to work or look good.<!--content-->used to be a bad thing, but all the newer browsers support iframes<br />
<br />
go ahead<!--content-->Just incase anyone is still interested in this topic, I use an IFRAME on my site. The url is <!-- m --><a class="postlink" href="http://ausphil.com/?1">http://ausphil.com/?1</a><!-- m -->. The following browsers support it.<br />
<br />
- Internet Explorer 4 and above (Windows versions)<br />
- Mozilla 1 and above<br />
- Netscape 5 and above [NS5 not released, but all above supported IFRAMEs because they are exact copies of the new Mozilla range]<br />
- Opera 5 and above (Windows versions) [have tested on 3,5,6 and 7.1 - didn't work in 3, but was successful in others]<br />
- Konqueror 3 (Linux browser) [tested on 2 and 3, didn't work in 2]<br />
<br />
Does anyone use MacOSX and have the new Safari? If so if at all possible could you please go to my site <!-- m --><a class="postlink" href="http://ausphil.com/?1">http://ausphil.com/?1</a><!-- m --> and take a screen shot, and send it to me [[email protected]]. Most image formats accepted, (PNG, JPG, GIF).<br />
<br />
Regarding other older browsers (such as Netscape 4.7 and below, Opera 3.0 and below, old IE) -- I have placed a message between the <iframe></iframe> tags asking them to upgrade. You are bad to still use them for general browsing!<br />
<br />
I have no problems with borders. I use XHTML 1.0 Transitional and CSS level 2. Last I checked they were valid.<!--content-->
 
Back
Top