Link to home
Start Free TrialLog in
Avatar of VBdotnet2005
VBdotnet2005Flag for United States of America

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-align:center;">
Copyright © test</div>

</div>
 
</body>
</html>
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

The only thing I see wrong are some extra ';' in the styles.  Should be like this:
<div id="content" style="height:417px; width:1150px; float:left;">
Content goes here</div>

<div id="footer" style="clear:both;text-align:center;">
Copyright © test</div>

Open in new window

Avatar of VBdotnet2005

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>
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.