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.

Iframe size

Featured Replies

Just working with a layout you may have already seen it , don't worry about the skewif positioning of the iframe that isn't a problem , The problem is that I want the iframe to only be the width of the content inside it which is another page on the server called news.html.

 

In the html I have tried to set the iframe to the same size of the frame content with no such luck.

 

Does anyone know what I am doing wrong ?

 

Thanks

http://podchatter.com/fwork/index.html

 

the page within the iframe is located here http://podchatter.com/fwork/news.html

 

 

Thanks in advance.

Just working with a layout you may have already seen it , don't worry about the skewif positioning of the iframe that isn't a problem , The problem is that I want the iframe to only be the width of the content inside it which is another page on the server called news.html.

 

In the html I have tried to set the iframe to the same size of the frame content with no such luck.

 

Does anyone know what I am doing wrong ?

 

Thanks

http://podchatter.com/fwork/index.html

 

the page within the iframe is located here http://podchatter.com/fwork/news.html

 

 

 

 

 

 

Thanks in advance.

I think you have the iframe code wrong

your code

<iframe src="news.html" framewidth = "165px" frameborder="0">

Try this

<iframe 
src ="/news.html"
width="200 px">
</iframe>

Webmojo

 

ive put both codes side by side on mysite http://webmojo.co.uk/test.html ( it wont be there for long)

 

for more info in iframe try http://www.w3schools.com/TAGS/tag_iframe.asp

or use CSS.

 

iframe {
width: 000px;
height: 000px;
}

 

:)

or use CSS.

 

iframe {
width: 000px;
height: 000px;
}

 

:)

It seems the the problem is with the code not being closed

</iframe>

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.