Reputation: 13
I am a newcomer to webdesign. I am working on a personal site and I want to organize the menu on the left side of the page, and have it expand to reveal the projects within each category, much like this shopping site: http://www.zara.com/dk/en/woman/shirts-c358004.html.
I cannot figure out where to start, so any advice would be much appreciated.
Upvotes: 0
Views: 118
Reputation: 7916
this can be done using css as follows
<html>
<head>
<style>
#leftdiv{
float:left;
width:50%;
}
#rightdiv{
float:right;
width:50%;
}
</style>
</head>
<body>
<div id="maindiv">
<div id="leftdiv">
<!-- Content of div -->
</div>
<div id="rightdiv">
<!-- div content -->
</div>
</div>
</body>
</html>
Upvotes: 1