- This topic is empty.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
August 6, 2013 at 8:10 am #145782dudskie37Participant
Hi,
I am just new with CSS and it is fun to learn with. I started learning with Twitter bootstrap CSS framework. My issue is that the side bar height does not goes the same with the height of the main content. Let’s say if I have a long content still my sidebar is fixed length. What property should I add?
<!DOCTYPE HTML> <html lang="en"> <head> <link href="includes/Bootstrap/css/bootstrap.css" rel="stylesheet"> <link href="includes/Bootstrap/css/bootstrap-responsive.css" rel="stylesheet"> </head> <body> <div class="page-container"> <div class="container"> <div class="container-fluid"> <header class="margin-top"> <div class="row-fluid"> <img border="0" src="images/header.jpg" alt="" /> </div> </header> <div class="row-fluid"> <div class="span3"> <div class="well sidebar-nav"> <ul class="nav nav-list"> <li><a href="index.php">Home</a></li> <li><a href="contact-us.php">Contact </a></li> <li><a href="about-us.php">About Us</a></li> </ul> </div><!--/.well --> </div><!--/span--> <div class="span9"> <div class="hero-unit"> If I have a long content here.. The sidebar does not follow the height of the content. </div> </div><!--/span--> </div><!--/row--> </div><!--/.fluid-container--> </div> </div> </body> </html>
Thanks in advance…
-
AuthorPosts
Viewing 1 post (of 1 total)
- The forum ‘CSS’ is closed to new topics and replies.