Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2009-10-03, 12:18 PM   #1
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
Can anyone help with a little coding problem

I fooled around with this all day yesterday
I cant get the search button to line up in the header

http://www.tommys-bookmarks.com/images/header.html

I have just about givin up on it but...
__________________
Accepting New partners
Tommy is offline   Reply With Quote
Old 2009-10-03, 12:23 PM   #2
Evil Chris
My eyes are up here.
 
Evil Chris's Avatar
 
Join Date: Apr 2003
Location: Montreal
Posts: 913
Send a message via ICQ to Evil Chris
Try making the character width of the search bar 35 instead of 40.
Evil Chris is offline   Reply With Quote
Old 2009-10-03, 12:59 PM   #3
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
The image is a few pixels higher then the text input for me too, but I don't see anything in your CSS or HTML that would cause this behavior.

I put 30 minutes into this riddle and the best I could come up with was to use a 1-row, 2-col table, put the text input and the image in separate cells, like this:

Code:
<form style="margin-top: 2px;" method="get" action="/tgpx/search.php">
<table width="100%"  border="0" cellspacing="0" cellpadding="0"><tr valign="middle">
    <td align="left"><input style="margin-top: 2px;" class="adborder2" name="s" size="40" value="" type="text"></td>
    <td align="left"><input style="margin-top: 2px;" name="submit" src="tommys_files/search.jpg" type="image"></td>
</tr></table></form>
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Old 2009-10-03, 01:04 PM   #4
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
Virgohippy.. Thank you so Much !!!!!

and thank you Chris
__________________
Accepting New partners
Tommy is offline   Reply With Quote
Old 2009-10-03, 01:56 PM   #5
Evil Chris
My eyes are up here.
 
Evil Chris's Avatar
 
Join Date: Apr 2003
Location: Montreal
Posts: 913
Send a message via ICQ to Evil Chris
Looks good now. Smart solution.
Evil Chris is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:03 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc