Log In · Register

 
iFrames
rawoarbby
post Jul 21 2007, 06:49 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Jul 2007
Member No: 547,967



I really don't understand iframes; but it would be so much easier to actually change the layout than going to EVERY single page and changing the layout there;
anyone willing to help?

i understand about the code
<iframe frameborder="0" width="500" height="5000" src="http://yousite .com/index.html" name="Content" allowTransparency="true" scrolling="no" align="top" style="position:absolute; top:450px; left:206px"></iframe>

but i don't really underztand the rest;
am i suppose to put the iframe code in every single page that i want the same layout in?
and
am i suppose to have a separate iframe code for the sidebar and the updates?
please help
 
 
Start new topic
Replies
*karmakiller*
post Jul 21 2007, 09:53 PM
Post #2





Guest






If you have multiple pages and you don't want to update them all when you change your layout, I'd suggest using PHP Includes. You can use DIVs instead of iFrames. They're pretty easy to use, I prefer them over iFrames.

You can still use iFrames. Your content pages can use CSS. Just fill out a stylesheet and upload it and then you can link it. You don't change the layouts on that page. So basically, you have one main page that you update and put the iFrames on and you change the height and width of the iFrames when you update your layout. You can put as many iFrames on your page as you'd like.
 

Posts in this topic
rawoarbby   iFrames   Jul 21 2007, 06:49 PM
karmakiller   If you have multiple pages and you don't want ...   Jul 21 2007, 09:53 PM
Chicago   i agree with karmakiller, DIVS are mucho' easi...   Jul 21 2007, 10:55 PM
moorepocket   iframes are intend to put information w/o all the ...   Jul 21 2007, 11:19 PM
tripvertigo   you should just give up.   Jul 24 2007, 02:17 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: