As per HTML5 tag semantics, I designed a web page. A basic structure of the HTML body is as follows
<nav class="nav-primary">
<div class="heading-primary">
<!-- Logo & links of webpage -->
</div>
<div class="nav-side">
<!-- Left side navigation of the page -->
</div>
</nav>
<section class="section-content">
<!-- Contents of the web page -->
</section>
The end website should have a standard look as follows
I thought of semantics and wrote the left navigation panel (.nav-primary > .nav-side) inside the 'nav' element.
Is there any method by which I can structure the left navigation panel to take up a certain percent of width of section content (.section-content).
Like, I don't want the left navigation panel to be placed above the section content (using fixed position or something). It has to be placed left of the section content sharing the total width using the same HTML structure.
Thanks in Advance