PDA

View Full Version : HTML & Iframes Coding Tutorial



CFairweather
30-03-2007, 08:05 PM
I've for a while now wanted to code layout's in HTML & in Iframes.
Could anyone post a tutorial for doing so? I've search and i cant find one. so
Please?

Thanks x

Mr.OSH
31-03-2007, 12:38 AM
Try looking at http://www.w3schools.com/ for HTML (can't be bothered explaining)

Also as for iFrames....

Just insert the following into the body of the document for example -


<iframe src="iframes/index.php" frameborder="0" height="100&#37;" width="100%" name="master" ></iframe></td>

The
frameborder="0" is just to determine whether or how thick the border on the iFrame should be e.g. "0" means no border.

The
<iframe src="iframes/index.php" directs the iframe to show the file "index.php" stored in the directory "/iframes/" in the iframe.

Also
name="master" means that the iframe is refered to as "master" you can change this name but you MUST give the iframe a name if you plan to use links to connect to change the iframe for example...


<a href="iframes/index.php" target="master">Home</a>

That would set the text "Home" to lead to the link "iframes/index.php" but the new page would display in the iframe (if it is named "master").

I don't know if that helped but that was a very quick explanation for you.. :)

CFairweather
31-03-2007, 02:56 PM
Thank's +REP for helping me on that.... can anyone help me on the Coding in HTML Part?

Blob
31-03-2007, 03:58 PM
http://www.slicingguide.com/

Want to hide these adverts? Register an account for free!