Page 1 of 1

div layout question

PostPosted: Thu Jul 07, 2005 6:40 pm
by Mr. Rogers
I'm messing with a div layout, I haven't really used these much before.

-------------------------------
<div id="logo" style="position: absolute; width: 100%; height: 100px; top: 0px; left: 0px;">
<font size="20">Jim's Test Site</font>

</div>

<div id="nav" style="position: absolute; width: 200px; top: 100px; left: 0px;">
Nav
</div>

<div id="links" style="position: absolute; width: 150px; top: 100px; right: 0px;">
<a href="http://www.google.com" target="content">Google</a>
</div>

<div id="content" style="position: absolute; top: 100px; left: 200px; right: 150px;">
Content.
</div>
----------------------------

I'm trying to get that link in the "links" section, to load in the "content" section. I'm not really sure how to do that though.

PostPosted: Thu Jul 07, 2005 7:32 pm
by shooraijin
Try doing that with an <iframe> instead. <div>s aren't really containers in that sense. Then you can use JavaScript to manipulate the <iframe>.