HTML: how to set children element width = browser window width ?
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-05-18T20:43:17Z
Indexed on
2010/05/18
20:50 UTC
Read the original article
Hit count: 197
hi,
I want to display a children element of my html page all over the browser window.. in other words I would like to enlarge it and keep it the same size the browser window also when it is resized after loading.
I was wondering if I have to move this object outside the parent elements or I can set these properties with css.
At the moment if I set width:100% and height:100%, it fits the parent (of course) and not the window.
thanks
© Stack Overflow or respective owner