Forum Moderators: open
Can somebody PLEASE lend me a helping hand here??? I mean, Im justa bout ready to grab one of my favorite BaseBall Bats and drive out to one of my favorite Dump Yards, and have a good go at some old Televisions and Refrigurators or whatever else I can find lyeing round :o!!!! Below I have included the "EXACT" Form CODE that I am trying to get RID of the Form Borders/Spaces, it keeps automatically throwing at me everytime I go to preview my page...!!!! BTW ... WHY the hell is it anyways that all Forms seem to Automatically do this to begin with???? I mean, for cryin out loud, WHY are they programed that way to begin with.... How it should be, is that one should ideally be able to resize the Dam things WITHOUT any spaces, just as one might with a Table or a cell, you know adjust and Cell Spacing, Cell Padding, Borders, etc. etc. .... WHY does everything always have to be such a Bitch to deal with :o????
Ok ..... Sorry for the Ramble here but I just had to get this off my chest, before I totally go Bezerk...!!!!
Listed below is the code I speak of... If Anybody can PLEASE provide me with a FIX for this, if you could ADD it to this Snippit here I would be Profoundly GRATEFUL.... And it would also save me a trip from driving out to the Dump Yard!!!!!!
Thanks Everybody!!!!
Signed: The Village Idiot
Here it is!!!!!
<form action="/cgi-sys/entropysearch.cgi" target=searchwindow>
Search Query <input type="text" name="query" value="">
<input type="hidden" name="user" value="fragrant">
<input type="hidden" name="basehref" value="http://fragrantscents.com">
<input type="hidden" name="template" value="default">
<input type="submit" value="Search">
</form>
Try removing whitespace between the tags...
i.e.
<form action="/cgi-sys/entropysearch.cgi" target=searchwindow>
Search Query <input type="text" name="query" value=""><input type="hidden" name="user" value="fragrant"><input type="hidden" name="basehref" value="http://fragrantscents.com"><input type="hidden" name="template" value="default"><input type="submit" value="Search">
</form>
I tried removing the Spaces between the tags PCguru... No such luck..! Nothin changed..
And Im very sorry Moonbiter BUT although I see the added CSS Code you sent, Im ashamed to say, I dont have a Clue as to knowing exactly HOW to add it into the Code in my example.... THATS the whole problem.... I have been trying to ADD this and ADD that to my Code, BUT Im not getting ANYTHING to work :o
Im not putting something in the right place somewhere!!!!!
Ive been trying to figure out WHAT to Put and WHERE to put it (now BE NICE:)!!! now for days, STILL with NO LUCK :o!!!!!
Could you PLEASE tell me where to Stick this Code (now BE NICE:) you just sent me in with the Code I have used in my example!!!!!! THEN I could Mello out a little bit, cause Im about to Break my Keyboard Im hitting these Keys so hard :o!!!!!!!!!!!
After all.... I am only a Humble Idiot who lives in the Village :o
I would also suggest putting the hidden input elements either at the beginning or the end of the form to avoid the spacing problem -- it seems like they take up some space in IE no matter what.
So your markup would look something like this.
<html>
<head>
<title>Untitled</title>
<style type="text/css">
form {
margin: 0px;
padding: 0px;
}
input {
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<form action="/cgi-sys/entropysearch.cgi" target="searchwindow">
<label for="query">Search Query</label> <input type="text" name="query" value="" />
<input type="submit" value="Search" />
<input type="hidden" name="user" value="fragrant" />
<input type="hidden" name="basehref" value="http://fragrantscents.com" />
<input type="hidden" name="template" value="default" />
</form>
</body>
</html>
Another thought: you could also theoretically put a class on the hidden elements and then use CSS to set the display property on them to none. However, I'm not sure if their values would be passed along with the form when it was submitted (I suspect that it would depend on the browser). You would have to test it, but it's worth a try. This markup would look like:
<html>
<head>
<title>Untitled</title>
<style type="text/css">
form {
margin: 0px;
padding: 0px;
}
input {
margin: 0px;
padding: 0px;
}
input.hidden {
display: none;
}
</style>
</head>
<body>
<form action="/cgi-sys/entropysearch.cgi" target="searchwindow">
<label for="query">Search Query</label> <input type="text" name="query" value="" />
<input type="submit" value="Search" />
<input type="hidden" name="user" value="fragrant" class="hidden" />
<input type="hidden" name="basehref" value="http://fragrantscents.com" class="hidden" />
<input type="hidden" name="template" value="default" class="hidden" />
</form>
</body>
</html>
OUT FREAKING STANDING MOONBITER !!!!!!!!!!!!!!!!!!
PERFECT !!!!!!!!!! YOU HAVE MADE MY DAY.... AND I THANK YOU VERY VERY VERY MUCH!!!!!!
HERE HERE TO MOONBITER :)!!!!
I OWE YOU SOME!!!!!!!!
VILLAGE!!!!!!!!