November 8, 201016 yr I have an issue with my contents div (with gallery div inside) when a user resizes the window the photos should float left and expand the div when a user resizes their browser window. I currently have set it as 1000px height for now but it just wouldn't expand if i even remove it. I can seen it only will expand with text but why not with images, along with list? heres is the one with 1000px and one without the 1000px Anyone know what the problem is ?
November 8, 201016 yr You could try this in your css: height: auto; Should allow the div to expand to the size needed for whatever the case.
November 8, 201016 yr Also put this code above the <br><div class="footer"> <div style="clear: both;"></div> So: <a href="http://www.starlinetravelscotland.co.uk/images/Starline2/Berkhof%20Axial%2032%20Seat%20Luxury%20Team%20Coach/DSC00183.JPG"> </a> </ul></div> </div> <div style="clear: both;"></div> <br> <div id="footer"> <a href="http://www.starlinetravelscotland.co.uk/index1">Home</a> | <a href="http://www.starlinetravelscotland.co.uk/Fleet">Our Fleet</a> | <a href="http://www.starlinetravelscotland.co.uk/booking">Booking Conditions</a> | <a href="http://www.starlinetravelscotland.co.uk/testimonial">Testimonials</a> | <a href="http://www.starlinetravelscotland.co.uk/contact" title="Contact Us">Contact Us</a></div> </div>
November 8, 201016 yr Also put this code above the <br><div class="footer"> <div style="clear: both;"></div> So: is this better? <br style="clear: both;" /> Although there is better ways of doing it.
November 8, 201016 yr Author Thank you the clear div work is that similar to a page break like you use in word?
November 8, 201016 yr I am not sure mate as I don't use word. Due to having a div or 2 I thought I would try clearing them to see if it allowed the expansion on the div. Glad it worked and that you are able to continuewith your project.
Create an account or sign in to comment