Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-07-2005, 04:01 PM   #1
Solid State Member
 
Phire's Avatar
 
Join Date: Feb 2005
Posts: 7
Default frames

Hi.
I'd like to know how to make a frame for my website. I've tried in HTML. Hopeless. Can someone give me the code or a little tutorial how to do frames in CSS or PHP? thanks.

i want to make a navigation page basically, and news page, all in one frame, and the second frame is whatever else.
__________________

Phire is offline   Reply With Quote
Old 02-07-2005, 04:21 PM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: frames

http://www.w3.org/TR/REC-html40/present/frames.html

covers regular frames and Iframes in HTML...

PHP is a server side language, PHP is not rendere on the browser, rather the dynamic HTML output of a script is rendered in the browser window.
you can use CSS to set properties atached to an object, but at the end of the day it is how it says, (a cascading style sheet), the actual frames still have to be made using HTML

just to get you started.
Code:
<frameset colls = 25%,75%>
	<frames name="menu" src="menu.html">
	<frames name="main" src="main.html">
</frameset>
Then create the menu page in the following manner
Code:
<ul>
<a href="home.html" target="main"><li>Home</li></a>
<a href="gallery.html" target="main"><li>Gallery</li></a>
<a href="links.html" target="main"><li>Links</li></a>
</ul>
__________________

root is offline   Reply With Quote
Old 03-28-2005, 04:34 AM   #3
Beta Member
 
Join Date: Mar 2005
Posts: 1
Default

Hi I'm absolutely hopeless at frames too, but I just divide up the page with CSS, its seems easier.
Third_Impact is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:36 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0