Jump to content

Sections who fits the browser window to 100%


jlindblom

Recommended Posts

Hey! I have a question, maybe CSS is not enough to resolve this problem. I tried to make some different sections on my website, like they have done on this site http://www.spelltower.com (the several sections/divs with different backgrounds which fills up the browser window to 100%, both height and width). But can't figure it out. Can anyone help how to do this? Hope you understand how I mean. Otherwise, feel free to ask questions and I will answer! Thanks for your kind helping! B r,J

Link to comment
Share on other sites

Thanks Foxy Mod. But there will be more than 1 div in this page, with height 100%. Background-size won't fix this problem, or will it? If it does, how? Because when you resize the browser, I want the section to still be 100% of the browser. And when scrolling down, the next section will start right under the lower browser border. Exactly as it done at www.spelltower.com. Understand how I mean?

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...