Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tables instead of frames

Status
Not open for further replies.

merkin

MIS
Oct 18, 2004
4
US
I am trying to bypass using frames so I am trying to use div. below is a small breakdown of what i currently have. I am trying to have a clicked link open in the content ID..any help or total rewrites would greatly be appreciated. you can find the whole site i am working with at
Code:
#content {width:475px;
        height: 350px;
        padding: 5px;
        position: absolute;
        left: 50px;
        top: 150px;
        background: #232323;
        overflow: auto;
        border-top: 2px solid #F5F8CC;
        border-bottom: 2px solid #F5F8CC;
        text-align: justify;
        text-indent: 10px;
        z-index: 200;}
#content p+p {text-indent: 10px;}

<div id="nav">
        <a href="/index2.html">Home</a> | <a href="/poison.htm" target=content>The Poison</a> | <a
href="/archive.htm" target=content>Archive</a> | <a href="/Guidelines.htm" target=content>Guidelines</a> | <a
href="/about" target=content>About</a> | <a href="/contact.htm" target=content>Contact</a> 
</div>


<div id="content">
</div>
 
You'll need an iframe or something for this, rather than a [tt]<div>[/tt].

You can change the source of an iframe programmatically on the anchor's onclick event.

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top