GreenFanta
09-18-2011, 09:04 PM
Hi!
I have a site on which I have set specifically where I want the input boxes to be and the sizes I want them to be, below is my HTML (obviously the background image will not load) but what happens, is when a user changes the window size (or if a widescreen uses it), the dialog box and "HOME" button will move, is there a way I can possibly shrink it or something? .. just to keep it where it should be...
<html>
<style>
body {
margin:0px auto;
background-image:url('bg.png');
background-repeat:no-repeat;
background-size:100%;
background-color:#000000;
}
p {
color:white;
font-family: arial;
font-style: oblique;
font-size: 15px;
}
h2 {
color:white;
font-family: arial;
font-style: oblique;
font-size: 20px;
}
a {
color:#856d5f;
font-family: arial;
text-decoration:none;
font-size: 20px;
font-weight:bold;
}
a:hover {
color:#594134;
}
</style>
<body>
<table align=right width=46% height=90% border=1>
<tr><td>
<table align=center width=100% height=60% border=0 cellpadding=10>
<tr><td valign=middle align=center>
<table align=center width=50% height=100% style="width: 100px; height: 100px; overflow: hidden;">
<tr><td align=right valign=middle>
<table align=left>
<form action="?a=1" method="post">
<tr><td width=25%>API</td><td width=25%><input type="text" name="api" size=90% MAXLENGTH=100></td></tr>
<tr><td width=25%>User ID</td><td width=25%><input type="text" name="userid" MAXLENGTH=10><br></td></tr>
<tr><td width=25%></td><td width=25%><input type="submit" value="Submit"></td>
</form>
</td></tr></td></tr>
</table>
</td></tr>
<tr><td valign=bottom>
<table align=center width=100% border=0 cellpadding=10>
<tr><td>
<a href="#" onclick="fetchpage()">HOME</a>
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>
Thanks.
Kind Regards
Matthew
I have a site on which I have set specifically where I want the input boxes to be and the sizes I want them to be, below is my HTML (obviously the background image will not load) but what happens, is when a user changes the window size (or if a widescreen uses it), the dialog box and "HOME" button will move, is there a way I can possibly shrink it or something? .. just to keep it where it should be...
<html>
<style>
body {
margin:0px auto;
background-image:url('bg.png');
background-repeat:no-repeat;
background-size:100%;
background-color:#000000;
}
p {
color:white;
font-family: arial;
font-style: oblique;
font-size: 15px;
}
h2 {
color:white;
font-family: arial;
font-style: oblique;
font-size: 20px;
}
a {
color:#856d5f;
font-family: arial;
text-decoration:none;
font-size: 20px;
font-weight:bold;
}
a:hover {
color:#594134;
}
</style>
<body>
<table align=right width=46% height=90% border=1>
<tr><td>
<table align=center width=100% height=60% border=0 cellpadding=10>
<tr><td valign=middle align=center>
<table align=center width=50% height=100% style="width: 100px; height: 100px; overflow: hidden;">
<tr><td align=right valign=middle>
<table align=left>
<form action="?a=1" method="post">
<tr><td width=25%>API</td><td width=25%><input type="text" name="api" size=90% MAXLENGTH=100></td></tr>
<tr><td width=25%>User ID</td><td width=25%><input type="text" name="userid" MAXLENGTH=10><br></td></tr>
<tr><td width=25%></td><td width=25%><input type="submit" value="Submit"></td>
</form>
</td></tr></td></tr>
</table>
</td></tr>
<tr><td valign=bottom>
<table align=center width=100% border=0 cellpadding=10>
<tr><td>
<a href="#" onclick="fetchpage()">HOME</a>
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>
Thanks.
Kind Regards
Matthew