Knew there would come a time when I ran into an issue trying to get a div to span full height!
Here's a basic example of what I have/am trying to achieve:
Mark-up
Stylesheet
Both html/body are set to 100%. It's a vertical slider which slides off the page. Haven't got access to Firebug at the moment to play around with it, unfortunately.
I can't get .slider to span 100%! Any ideas?
Here's a basic example of what I have/am trying to achieve:
Mark-up
Code:
<div class="main-container">
<div class="movement-container">
<!--Start Slider -->
<section class="slider_holder">
<div class="slider">
<div class="slides_container">
<ul class="slides">
<li>Content</li>
<li>Content</li>
Stylesheet
Code:
.main-container {float: left; width: 100%; height: 100%;}
.movement-container {margin: 0 auto; width: 60%; height: 100%; position: relative;}
.slider {float: left; width: 100%; height: 100%;}
.slides {height:100%; width: 100%; float: left;}
.slides li {width: 100%; height: 100%; float: left;}
Both html/body are set to 100%. It's a vertical slider which slides off the page. Haven't got access to Firebug at the moment to play around with it, unfortunately.
I can't get .slider to span 100%! Any ideas?
Last edited: