SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: using CSS to imitate iframe
-
May 9, 2002, 23:07 #1
- Join Date
- Jan 2002
- Location
- NJ/NY
- Posts
- 346
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
using CSS to imitate iframe
I think I've seen this before, but I can't remember the code at all.
Is there a way to create a textarea that has html inside without showing the html tags? In other words, create an effect that looks exactly like an iframe tag but not an iframe.
Thanks in advance.
-daveForget WordPress. Launch a 300,000+ page autoscaling Job Search.
FREE GUIDES
Google Rapid Indexer - 21K in 21 Days - 7 Steps to Start a Site
-
May 9, 2002, 23:25 #2
- Join Date
- Jan 2001
- Location
- Lawrence, Kansas
- Posts
- 2,066
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes, just create a div, assign it a height and width and set the "overflow" property to "auto":
http://www.w3schools.com/css/pr_pos_overflow.asp
-
May 17, 2002, 13:39 #3
- Join Date
- Nov 2000
- Location
- New York
- Posts
- 765
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yep. I know I've used this technique before, and the only thing I can remember distinctly is cross-browser problems
I don't think the site worked at all in netscape, although that could be unrelated to that css code.
-
May 17, 2002, 15:28 #4
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That's alright. Iframes don't work in Netscape either.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
May 17, 2002, 16:00 #5
- Join Date
- Jan 2002
- Location
- smelly armpit of Asia
- Posts
- 305
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
iframe works in NN6 but not in NN4
http://www.soapbox101.com
-
May 18, 2002, 11:46 #6
- Join Date
- Oct 2001
- Location
- Tucson, Arizona
- Posts
- 1,858
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
dtang4,
I think you're going to have the same NS4 problems either way, whether you decide to use an <iframe> or CSS. NS4 doesn't support the <iframe>, and it hardly supports CSS, so take your pick.
Bookmarks