I have used CSS, to create a page which has a header div, sidebar div, and main content div.
And I have in the sidebar the menus which I intended to be displayed on the main content
div, but unfortunately I am stack.
Can someone help me please how to do it without using frames in my page.
Are you asking how to have what I am guessing when you say menus are like navigation links to different things automatically display in the sidebar that link to parts of the main content when you add them? Or are you meaning you want the sidebar content in the main content as well? Or are you simply asking about moving the content in the sidebar into the main content?
<body>
<div id=“wrapper”>
<div id=“header”>
<img src=“images/logo1.gif” alt=“Footbag Freaks” height=“77”
width=“203” /><!–utoe–>
<div id=“header-bottom”>
<p id=“tagline”></p>
<img src=“images/header-ball.gif” height=“24” width=“20” alt=“” id=“ball” /><!–just for fun–>
</div> <!-- header-bottom –>
</div> <!-- header –>
<div id=“main”>
<div id=“content”>
<div id=“mainfeature”>
<h2>CS 231</h2>
<p>Requirements/Objectives of the course
To be mentioned depends on the course…
…</p>
<P>…
…
…
</p>
<p>
Outcomes
To be mentioned depends on the course…
…
…
…
…
…
</p> <a name=“maincontainer”>Introduction</a><!-- this is where I intend to show the introduction page–>
</div><!–mainfeature–>
</div> <!-- content –>
<div id=“sidebar”>
<div class=“inner”>
<h3>Cs Course VLT</h3>
<ol> <li class=“file”><a href=“#maincontainer”>Introduction</a></li><!–this is the link to direct to maincontainer–>
First of all, I don’t think this belongs in PHP, this is just HTML issues. From what I am seeing you want your sidebar links to go to different places on the main conent? Like in a table of contents on say, wikipedia? I may wrong but you didn’t actually say what you want to achieve.
I am really confused. You are trying to point the link to a div that is basically just next to the sidebar? Need more explaination, please.