Google Answers Logo
View Question
 
Q: Dreamweaver MX: Search Box formatting problems ( Answered 5 out of 5 stars,   1 Comment )
Question  
Subject: Dreamweaver MX: Search Box formatting problems
Category: Computers > Software
Asked by: wunderteam-ga
List Price: $15.00
Posted: 31 May 2003 20:33 PDT
Expires: 30 Jun 2003 20:33 PDT
Question ID: 211420
The Search Box on my site has two formatting problems - the logo is
out of alignment with the text input box, and the radio buttons are
too far below the text input box. You can see the box and grab the
code here:
http://www.toppest.com/SearchBox1.html

I played around with the code, and was able to fix the problem with
the radio buttons. But in the process, I made the problem with the
logo worse. Here's where you can see the new box and grab the code:
http://www.toppest.com/SearchBox2.html

Please correct the code, so that both problems are fixed.  Thank you.
Answer  
Subject: Re: Dreamweaver MX: Search Box formatting problems
Answered By: wlk115-ga on 31 May 2003 21:52 PDT
Rated:5 out of 5 stars
 
Hi wunderteam,

In order to get it to line up I had to put it in a table. 
The code is not pretty but it works! 

Go to http://www.wk2.net/toppest.htm

Get the source code
copy it from
<!-- Start Google -->
to
<!-- End Google -->

Let me know how it works once you have it in place.

If you have any problems with it use the comment button.

Thank You
wlk115

Request for Answer Clarification by wunderteam-ga on 01 Jun 2003 11:50 PDT
Thanks - we're almost there. However, the new box has created another
formatting problem, so I can't implement your fix until there is a
workaround. All the pages of my site are laid out in tables, and all
of the widths are set to 100%. I put your search box into my home
page, and couldn't get it to line up centered. You can see it here:
http://www.toppest.com/index-2.htm

I tried putting your table into another table and centering it, but I
couldn't make it work. This is my first try at a web site, so the fix
maybe very easy and obvious to a more experienced Dreamweaver user,
but not to a newbie like me. I'd appreciate it if you could help out
with this final (I hope!) step. Thanks in advance.

Clarification of Answer by wlk115-ga on 01 Jun 2003 14:43 PDT
Hi wunderteam,
Try this:
Find this section of code and at the end of the horizonal line table
code add a <br> tag. I put a color coded version up at
http://www.wk2.net/toppest.htm


<!-- End of MyComputer.com's GuestBook code. -->
</td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0"
cellspacing="0">
  <tr>
    <td height="100%"> 
      <hr width="100%">
    </td>
  </tr>
</table> 
<br> *****ADD THIS BR TAG TO YOUR CODE HERE****
<div align="center">
wunderteam-ga rated this answer:5 out of 5 stars
Code fix implemented - looks good and works perfectly. Responded
immediately to my request for a clarification. Well done. Full marks.

Comments  
Subject: Re: Dreamweaver MX: Search Box formatting problems
From: holmes4-ga on 01 Jun 2003 11:30 PDT
 
Yep - in today's browsers, forms really need to be inside tables to
format properly... Has nothing specifically to do with Dreamweaver.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy