Hello,
Is there a way to center all components from the form in browser no matter of window’s size and how much it’s zoom in/zoom out (ctrl+scroll)?
Have tried through properties and through CSS but no success yet: tried to attach style to form and to all components separately
http://www.w3schools.com/css/tryit.asp? … rgin_sides
<html>
<head>
<style type="text/css">
p
{
background-color:yellow;
}
p.margin
{
margin-left: auto;
margin-right: auto;
width:300px;
}
</style>
</head>
<body>
<p>This is a paragraph with no specified margins.</p>
<p class="margin">This is a paragraph with specified margins.</p>
</body>
</html>
Also tried the !important directive
Regards