Layout: (Closed) Nevermind, using Frames...

started by Newagelink on Aug 4, 2004 — RSS Feed

Newagelink Newagelink
Posts: 1

Edit:  Nevermind.  I've found I need PHP to do this, and Tripod won't let me use PHP, so now I'm using Frames.

Thanks anyway.


I think I have everything set up correctly, except instead of the links on the navbar opening in the "content" div on the right it's opening in a new window.

I've been told to use "the target command", but I thought that was only for targeting frames?

How do I make the links on the "menu" div open in the "content" div?

I also made this topic at http://www.gaiaonline.com/forum/viewtopic.php?t=3272402

This is the code I'm using:
<html>
<head>
<title>Two Column CSS Layout</title>
<style type="text/css">

body { font-weight: bold; }

#menu { position: absolute; left: 5px; width: 150px; height: 645px; }

#content { margin-left: 200px; margin-right: 15px; }

</style>
<LINK href="http://dixielandragdolls.tripod.com/Testing.css" rel="stylesheet" type="text/css">

</head>
<body>

<div id="menu">
<center>
<p>Have any questions, comments, or suggestions about the website?</p>
<p><a class="nav" href="mailtoixielandragdolls@lycos.com">Email the webmaster (my son Daniel)!</a></p>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="mailto:Coolkoshki@aol.com">E-mail Me</a></p>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="index.html">Home</a></p>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="all_about_us.htm">All About Us</a>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" target="content" href="all_about_ragdolls.htm">All About Ragdolls</a>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="cat_pictures.htm">Cat Pictures</a>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="kitten_pictures.htm">Kitten Pictures</a>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="shipping_and_pricing.htm">Pricing & Shipping</a></p>
<p><img src="http://dixielandragdolls.tripod.com/images/bar15.gif" width="155" height="9"></p>
<p><a class="nav" href="links.htm">Links</a></p>
</center>
</div>


<div id="content">
All of your content goes in this div.  This side is fluid so that if the window is collapsed, your div will collapse also and fit the screen perfectly.  To change the properties of this div you can change the #content selector in the style sheet that is located on this page between the head tags.
</div>


</body>
</html>


Thank you very much.

You must login to reply