Jump to content

Fluid slideshow

Andreas De Rudder

Recommended Posts



I learn at school about fluid and flexibel design. I want make now a slideshow on my website fluid, so it has the same width as the text and titles on each screen.

I have given the pictures a div with width 100% in css, but it doesn't work.

What have I done wrong?

My website is: http://msngent.be/information.html


Thanks for helping me,


Link to comment
Share on other sites

The div element will automatically be the width of its parent, so making it width 100% make it a bit redundant. The idea is to make the IMG tag be the total width available to it width: 100%; while keeping height proportionately correct by using height: auto;

Edited by dsonesuk
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...