Hello,
I am trying to create a horizontal stretch website:
I thought width: auto already scretch the width horizontal fully. but this is not the case. I wonder why?
about.php
<div id="testimonial"><br> <div id="bounceInRight"> <center><b>TESTIMONIAL</b><br><br>
Lorem ipsum dolor sit amet, euismod consectetuer adipiscing<br> elit, sed diam nonummy nibh euismod tincidunt<br> ut laoreet dolore magna aliquam erat volutpat.<br><br> </center> <img src="Images/About/left.jpg"> <img src="Images/About/testperson.jpg"> <img src="Images/About/right.jpg"> <center>Lorem ipsum dolor sit</center> </div> </div> </center> <p>Hallo</p> <div class="step-down"> <p>Hallo</p> </div> <?php include('footer.php'); ?>
style.css
#testimonial { width: auto; background-color: red;}
#footer { padding: 30px; width: auto; background-color: black; color: white; height: 220px;}