| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| html frame problem; know frames suck, but just read this | |
|---|---|
| Tweet Topic Started: May 24 2005, 01:01 PM (655 Views) | |
| Jory | May 24 2005, 01:01 PM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hey, I have a little problem. I made this website, and now I want to put a frame in the middle of it. this should make ik clear. Anybody know how to do this? (The rest of the site has no frames in it and I would like to keep ik that way) did i just make sence? :unsure: |
![]() |
|
| FearKiller | May 24 2005, 01:31 PM Post #2 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
<iframe> or <div> with an auto overflow property. Example CSS:
HTML:
|
![]() |
|
| Jory | May 24 2005, 01:51 PM Post #3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Would the CSS thing actually act as if it where a frame? So that I can load another page into it? Same goes for the iframe |
![]() |
|
| Gornakle | May 24 2005, 02:17 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
<iframe>, like the name suggests (inline frame) loads a page inline in a block. The overflowed <div> looks like an iframe (with scrollbars and such), but doesn't load an external page. |
![]() |
|
| Jory | May 24 2005, 02:20 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Ok, thanks. I'll give that a try. EDIT: Another question: Is there a way to make it so that the iframe's height ajusts to its content? |
![]() |
|
| FearKiller | May 24 2005, 02:57 PM Post #6 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Not that I know of, but wouldn't that defeat the purpose of having an iframe? :unsure: |
![]() |
|
| Jory | May 24 2005, 03:39 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Well, never mind about that. The IFrame does what it should do, just need to make some (300) pages a bit differtent ![]() *Qj goes and write some script to do that for him :yawn: |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
10:45 AM Jul 11
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




10:45 AM Jul 11