Hello,
After exploring the links found at http://allmyfaqs.net/faq.pl?CSS_FAQs
for a couple of months, I'm finally weaning myself off of the
<frameset> and <table> nipples.
I'm just having one problem; one where I haven't been able to otherwise
research the solution. When one uses the frameset tag, they can
specify a target of where the markup is to be displayed. How is this
accomplished with CSS?
Now with CSS, I have a page set up much like this...
________________________________________________
| | | |
| | | |
| | | |
| | | |
| div id=lft | div class=content | div id=rght |
| | | |
| | | |
| | | |
| | | |
________________________________________________
The nav on the left looks much like this:
<div id="lft">
<h2>Links</h2>
<p>
<a href="/pages/link1.htm" title="">link1</a><br> <!-- want this to
open in "content" -->
<a href="/pages/link2.htm" title="">link2</a><br>
<a href="/pages/link3.htm" title="">link3</a><br>
<a href="/pages/link4.htm" title="">link4</a><br>
<a href="/pages/link5.htm" title="">link5</a><br>
</p>
</div>
Right now, when a user clicks on the left, they leave the page with the
div(s) and go just to the content in linkn.htm. I want the site to
behave so that when the user clicks on any of the links on the left,
the resulting markup will appear in either the middle or the right...
Also, some of those pages have buttons (input="submit") on them.
Previously, the buttons drove pages which popped up; I'd rather get rid
of the popups and have everything either appear in the middle or the
right; but again, since I'm stuck in the "TARGET=" mindset I'm not sure
how to continue.
I guess a workaround would be to copy the same code for the left side
navigation into every page so that it appears the new markup is being
opened in a specified window. But that solution seems smelly offhand
and it seems to be a maintenance nightmare -- which isn't CSS supposed
to prevent in the firstplace?!
Thanks for your help!