VBdotnet2005
asked on
html - main page
When I click on Account, how can I have a html page display inside div conten "content goes here"?
<!DOCTYPE html>
<html>
<body>
<div id="container" style="width:100%">
<div id="menu" style="height:200px;width: 174px; float:left;">
<a href="http://tim/web/QC/index.html">Document Control / QC</a>
<br />
<br />
<a href="http://mysite/account.html">Account</a>
<br />
<br />
<a href="http://mysite/order.html">Order</a>
<br />
<br />
<a href="http://mysite/customer.html">Customer</a>
<br />
<br />
</div>
<div id="content" style=";height:417px; width:1150px; float:left;">
Content goes here</div>
<div id="footer" style=";clear:both;text-al ign:center ;">
Copyright © test</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<div id="container" style="width:100%">
<div id="menu" style="height:200px;width:
<a href="http://tim/web/QC/index.html">Document Control / QC</a>
<br />
<br />
<a href="http://mysite/account.html">Account</a>
<br />
<br />
<a href="http://mysite/order.html">Order</a>
<br />
<br />
<a href="http://mysite/customer.html">Customer</a>
<br />
<br />
</div>
<div id="content" style=";height:417px; width:1150px; float:left;">
Content goes here</div>
<div id="footer" style=";clear:both;text-al
Copyright © test</div>
</div>
</body>
</html>
ASKER
When I click on <a href="http://mysite/account.html">Account</a>, how is it going to display in this dive > <div id="content" style="height:417px; width:1150px; float:left;">
Content goes here</div>
Content goes here</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Gary is right. It doesn't work that way. Normally when you click on a link, the browser goes to a completely new page. Making content appear in the current page requires more sophisticated programming than is available in basic HTML.
Open in new window