NameSilo

How do I stop textboxes doing this?

Spaceship Spaceship
Watch

PoorDoggie

Soon to be RICHdoggie!VIP Member
Impact
18
I have a normal textbox:
Code:
<input name="q" />
and it is in a set height <td></td> yet it forces the cell to become bigger, although it is not bigger than the cell.

I have attached a screenshot, and this displays my problem. The "navigation" bar is supposed to end before that massive dark green horizontal line, yet the text box pushes it down! :(
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
valign="middle" should do the trick... Put that in yout row Properties... and make sure the cell is the same size at the backround bar (height)
 
0
•••
I had this same problem not too long ago. I used CSS to align it right, it did a great job. I'm sorry, I can't find the exact code, but I hope that I helped.
 
0
•••
templaterave said:
valign="middle" should do the trick... Put that in yout row Properties... and make sure the cell is the same size at the backround bar (height)
yes. I have already tried that, thanks, didn't do much good.
Jon_ said:
I had this same problem not too long ago. I used CSS to align it right, it did a great job. I'm sorry, I can't find the exact code, but I hope that I helped.
erm. Do you mean left & top positions? My page is centered, so if anyone has a high or low resoloution the text box will be badly aligned.
 
0
•••
Can you post the code?

Try something like this:

Code:
form, input {
   padding: 0 0 0 0;
}
 
0
•••
Hey,

I use

margin:0px

and that works for me.
 
0
•••
Maybe thats it, I know there is some sort of padding or margin in the form tag, so maybe something like this will work:

PHP:
form, input {
   padding: 0 0 0 0;
   margin: 0 0 0 0;
}
 
0
•••
will have a go thanks! :)

nope, dosen't seem to work! :'(

this is the code btw:
HTML:
<td class="nav" align="right" valign="top" width="100%" height="24">
      			<a href="http://search.poordoggie.co.uk">
     				<img src="images/search.gif" width="48" height="24" border="0" alt="Search PoorDoggie." /></a><input name="q" class="search" /><img src="images/go.gif" alt="go!" /></td>
 
0
•••
0
•••
already done that... text is tiny, and the box has no padding whatsoever, although it still has the same problem! :(
 
0
•••
Appraise.net

We're social

Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back