I would like to display a square on a "mobile" WebApp. The width should be half of the screen size. On any screen. How to declare the height?
#square{
position:absolute;
background:black;
width:50%;
}
And how would I center such elements, with no fixed size?
thank you very much.