Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I frames? Who uses them....?

Featured Replies

I just wanted to see how many people use iframes and if not, why? I don't see the sense in them to be honest and my boss is forever using them. Drives me nuts. But i don't know enough to stand up and tell her she's doing it wrong?

 

Anyone agree that they are a pain in the ass? or do you swear by them....?

 

- Neil

It really depends on the type of site - I worked for Chelsea FC and they are always using iFrames for content because it just makes sense to plug in another site to theirs, when it is on such a HUGE scale then it makes sense, rather than redesigning/developing a completely bespoke bit of code. It depends on how it is used really :)

Sometimes. I run a community website and if I get a schedule of Church services as a Word Doc it's quicker to convert it to html and put that in the website in an iframe (because it's got too much height). I know that converting Word to html produces terrible code, but it works and it's quicker than retyping and I won't make any mistakes.

I use them, but only for scrolling images.

 

Search engine crawlers take them as a separate page and that's not good.

If I remember right, wasn't this the same reason frames are now more or less obselete.

 

A time & a place for them I suppose.

  • Author

I use them, but only for scrolling images.

 

Search engine crawlers take them as a separate page and that's not good.

If I remember right, wasn't this the same reason frames are now more or less obselete.

 

A time & a place for them I suppose.

 

 

Really? i didn't realize that. That's what i wanted to hear though....something i can stand up and say as i don't know that much about using iFrames except they are a pain in the ass!

The only thing that I use an iframe for is inserting google maps, anything else that I want to have a separate file I will use an include as that way search engines can see the code on that page rather than think of it as a separate page

Unfortunately iframes aren't accessible so they are/were/should be fazed out (my opinion, sorry!). If you want the same effect without needing the iframe, I'd suggest a scrolling div -

 

#whatever {

width: 300px;

height: 300px;

overflow: auto;

}

 

<div id="whatever">Text</div>

I have a bad habit of using them for terms of use agreements on registration pages and thats about all. I should be using css for that, I guess its just a "bad habit" I've picked up.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.