Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Iframes Are Evil
sohahm
post Feb 19 2005, 02:40 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 13
Joined: 6-October 04
Member No.: 1,036



Iframes are Evil

Iframes are used for everything, but I have soooo much trouble with them.They never align right or they pop up something they shouldn't. I found frame generator, but even then I still got lost because I wanted a layout with them.

Is there any really good help sites that explain iframes?
Go to the top of the page
 
+Quote Post
harriko
post Feb 19 2005, 07:06 PM
Post #2


Premium Member
Group Icon

Group: Members
Posts: 279
Joined: 2-February 05
From: UK
Member No.: 2,480



hm.. i think iframes are really do to do. its like a page inside and page. i am going to rebuild my website based on iframes. right now its just pages and pages. iframes will make it simpler and faster to load up.

i think you should start from scratch, make a new page coding around the iframe. or make a table and put the iframe code in the that table. then resize the iframe to 100% width and hieght. make a new page linking to that iframe and in that table is that page. simple as that!
Go to the top of the page
 
+Quote Post
harriko
post Feb 19 2005, 07:08 PM
Post #3


Premium Member
Group Icon

Group: Members
Posts: 279
Joined: 2-February 05
From: UK
Member No.: 2,480



oh yeh i totally forgot! i got this url in my favourites which can tell you all about the iframes and how to build them.

CODE
http://ruff-designs.com/tutorials/htmliframecode.html


hope this helps!
Go to the top of the page
 
+Quote Post
kaputnik
post Feb 20 2005, 06:41 PM
Post #4


Premium Member
Group Icon

Group: Members
Posts: 233
Joined: 11-February 05
From: Bangalore
Member No.: 2,607



QUOTE(harriko @ Feb 20 2005, 12:36 AM)
hm.. i think iframes are really do to do. its like a page inside and page. i am going to rebuild my website based on iframes. right now its just pages and pages. iframes will make it simpler and faster to load up.

i think you should start from scratch, make a new page coding around the iframe. or make a table and put the iframe code in the that table. then resize the iframe to 100% width and hieght. make a new page linking to that iframe and in that table is that page. simple as that!
*



I suggest you use a table and place your iFrame in it.. works out much neater..
Also read this I'd posted earlier... http://www.astahost.com/index.php?showtopi...=kaputnik&st=10

I think you'll get the hang of it with one or two trys..

All the best.. Rashid
Go to the top of the page
 
+Quote Post
Hercco
post Feb 23 2005, 05:55 PM
Post #5


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



I agree that iFrames are evil. Not because they're hard to do, but because I just really really really hate them.

Yes, I'm hijacking this thread for my personal opinions on web design. Muhahahah!!

Using iFrames, or normal frames for that matter, for the site basic design is, in my opinion un-userfriendly, a mark of lack of design skills and/or lazyness.

Don't get me wrong, iFrames are OK for certain tasks. Like small boxes showing little something from another site and such, but when all site content is loaded into a frame so that the pages can't be neatly linked... Well that's when my face colour starts to fade towards #ff0000.

I wouldn't be foaming this much if there wasn't a simple and a more professional way to do this: CSS overflow. It possibly combined with server side including and you have visially equal good if not better looking design. And most importantly, easily linkable.

There, preacher has spoken and congregation shall obey. smile.gif
Go to the top of the page
 
+Quote Post
Ryan
post Feb 23 2005, 06:47 PM
Post #6


Member - Active Contributor
Group Icon

Group: Members
Posts: 87
Joined: 27-January 05
Member No.: 2,360



why do you need an iframe, just use php include, thats what i do, i generally hate iframes wih a select few exeptions.
Go to the top of the page
 
+Quote Post
Tobias
post Apr 11 2005, 02:12 AM
Post #7


Advanced Member
Group Icon

Group: Members
Posts: 101
Joined: 11-April 05
Member No.: 3,843



You don't even need php to make a scrolling window. You can use div's inside of div's to create the same effect as an iframe.
CODE

<html>
<head>
<title></title>
<style type="text/css">
#box {
font-family:Arial,Helvetica,sans-serif;
text-align: center;
font-size: 10px;
width:160px;
height:160px;
overflow: auto;
}

.newscontainer {
margin-bottom: 20px;
}
</style>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">
<div id="box"
<div class="newscontainer">
<span>You can put text in this</span>
</div>
<div class="newscontainer">
<span>And this</span>
</div>
<div class="newscontainer">
<span>And this</span>
</div>
<div class="newscontainer">
<span>And this</span>
</div>
<div class="newscontainer">
<span>And this</span>
</div>
<div class="newscontainer">
<span>And this</span>
</div>
<div class="newscontainer">
<span>And this</span>
</div>
</div>
</BODY>
</HTML>
Go to the top of the page
 
+Quote Post
nachtgeist03
post Apr 17 2005, 10:50 AM
Post #8


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 59
Joined: 16-April 05
Member No.: 4,039



I personally can't stand i-frames for 90% of the ways I see them used. I always feel like I'm looking at a website through a keyhole in a door. All that beautiful space around the page... and I get to only look at that teeny-tiny part of the page change... dry.gif

I would have to agree with kaputnik on using a table though. Just wing the i-frame inside the table field, set the height and width of the frame to the same dimentions of the table field, and you should be good to go cool.gif
Go to the top of the page
 
+Quote Post
jipman
post Apr 17 2005, 12:08 PM
Post #9


Pretty please?
Group Icon

Group: Members
Posts: 733
Joined: 28-November 04
From: Holland
Member No.: 1,552



Well... since the topic starters question is already answered and the latest few replies, are .....

how shall i put it... Off topic

I sentence this topic to eternal close-ation. smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 7th October 2008 - 08:58 AM