frames

Phire

Baseband Member
Messages
90
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.
 
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>
 
Back
Top Bottom