0

I am trying to implement a simple application in angular 2 .

i designed my home page with a top nav bar and side nav bar.

Below shown is the code for my home page template

home.component.html

<div class="well sidebar-nav">
    <ul class="nav nav-list">
        <li class="nav-header">Status At A Glance</li>
        <li class="active"><a href="#">Remaining</a></li>
        <li><a href="#">In Progress</a></li>
        <li><a href="#">Accepted</a></li>
     </ul>
</div>  

<p> <strong> Welcome to eSpace Home </strong></p>
<img src="/../../assets/i9.jpeg" class="img-rounded" alt="home" height="200" width="600">

Below shown is the screen shot of my home page

enter image description here

As shown in the above image i am unable to reduce the width of my side nav and my content i.e "welcome to espace home" and image is being aligned below my side nav.

can any body please help me fix this by guiding me how can i reduce the width of my side nav and how can i align my content right side of my side nav bar.

2

1 Answer 1

1

You may need grid system. For example:

<div class="row">
   <div class="col-lg-4">
      Your nav bar
   </div>
   <div class="col-lg-8">
      Your content
   </div>
</div>
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.