NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page This is simple yet annoying....

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-16-2006, 08:04 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Aug 2005
Location: Leeds, UK
Posts: 263
noswad is an unknown quantity at this point
 



This is simple yet annoying....


Hi.

I have a table and a search box within it. Everything is fine in Dreamweaver but when I put the site on the server, for some reason the height of the table is twice as high as the search box. All I want is for the table to fit nicely around the search box.


This is the code....

<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr bgcolor="2c5b8c">
<td width="99%" bgcolor="2c5b8c"><form name="form1" method="get" action="http://www.domain.com">
<div align="right">
<input name="textfield" type="text" value="e.g. Amazon">
<input type="submit" name="Submit" value="Search">
</div>
</form></td>
<td width="1%" bgcolor="2c5b8c">
</td>
</tr>
</table>

Why oh why is it doing it?
????: NamePros.com http://www.namepros.com/programming/198078-this-is-simple-yet-annoying.html

Thanks for viewing
__________________
Michael McIntyre - Fan site for the super funny UK comedian Michael McIntyre
noswad is offline  
Old 05-16-2006, 08:26 PM   #2 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Give the table and the inputs a height.
Dan is offline  
Old 05-16-2006, 11:58 PM   #3 (permalink)
Senior Member
 
Xyzer's Avatar
Join Date: Aug 2005
Location: United Kindom
Posts: 1,502
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
 


Tsunami Relief AIDS/HIV
That correct, Dan was right.
Xyzer is offline  
Old 05-17-2006, 04:42 AM   #4 (permalink)
NamePros Regular
 
Jim_'s Avatar
Join Date: Aug 2005
Location: NY, USA
Posts: 610
Jim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to beholdJim_ is a splendid one to behold
 


Save The Children
I think it's the form tag. Add this CSS:
Code:
<style>
form {
  padding: 0px;
  margin: 0px;
}
</style>
__________________
ask me about the internet
Jim_ is offline  
Old 05-17-2006, 04:53 AM THREAD STARTER               #5 (permalink)
NamePros Regular
Join Date: Aug 2005
Location: Leeds, UK
Posts: 263
noswad is an unknown quantity at this point
 



Jim you are correct. Thanks you and to everyone else also
__________________
Michael McIntyre - Fan site for the super funny UK comedian Michael McIntyre
Last edited by noswad; 05-17-2006 at 04:57 AM.
noswad is offline  
Old 05-17-2006, 05:48 AM   #6 (permalink)
NamePros Regular
 
Noobie's Avatar
Join Date: Feb 2006
Location: Montreal, Quebec, Canada
Posts: 324
Noobie is on a distinguished road
 



all your style sheets should contain Jim's code by default ;p
__________________
Goldkey.com is a scam
What's your BMI? | Timestamp Generator
Noobie is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:51 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger