remove padding in form element?
by "Phil Babcock" <pbabcock(at)bgsgroup.com>
|
| Date: |
Mon, 12 Jun 2000 13:46:17 -0400 |
| To: |
"hwg-languages(at)hwg.org" <hwg-languages(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Hi all
I have the following code in a frame that will contain the navigation, 30px
high across the bottom:
<html>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"
bgcolor="#06126A" style="padding: 0px; margin:0px">
<form action="list.asp?source=search" method="post" name="frmbottomsearch"
style="padding: 0px; margin: 0px" align="absmiddle">
<input type="text" size="25" align="absmiddle" value="Title"
name=""search"" onfocus="search.value=''" style="margin: 0px; padding: 0px"
maxlength="50"></form></body></html>
What I am trying to do is build the frame so that the input box is as close
to the top of the frame as possible. I have tried every method I can think
of to remove the "padding" that seems to be put around a <form> but I
havent had much success. The above code seems uneccessary and doesnt work
anyhow.
The code that generates this frameset is:
<frameset rows="*,30" border="0" frameborder="0" framespacing="0">
<frame src="index.asp" border="0" frameborder="0" framespacing="0"
marginheight="0" marginwidth="0" name="main" scrolling="auto" noresize>
<frame src="hidden.asp" border="0" frameborder="0" framespacing="0"
marginheight="0" marginwidth="0" topmargin="0" name="hidden" scrolling="no"
noresize>
</frameset>
Anyone know of any other way to get a form to render without space above
the elements? Is there something else I have to do?
tia!
Phil Babcock
Lead Web Designer
BGS Group Inc.
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.