Closed Bug 361356 Opened 18 years ago Closed 18 years ago

Search box resizing updated to work with Firefox 1.x and 2.0

Categories

(www.mozilla.org :: General, defect)

Other
Other
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: cilias)

References

()

Details

The previous version only appeared to work for Firefox 1.x. New version tested under Firefox 2.0 (Windows XP) and 1.5.0.6 (SUSE Linux). The "max-width" property appears necessary to force the search box to a size smaller than the default while "width" property appears necessary to force the search box to a size larger than the default. Diff follows:

--- mozilla-org/html/support/firefox/tips.html
+++ mozilla-org/html/support/firefox/tips.html
@@ -303,7 +303,8 @@
 <pre class="code"><span class="comment">/* Make the Search box flex wider
    (in this case 400 pixels wide) */</span>
  #search-container, #searchbar {
-   -moz-box-flex: 400 !important;
+   max-width: 400px !important;
+   width: 400px !important;
 }
 </pre>
 </dd>
Component: Other → www.mozilla.org
Product: Websites → mozilla.org
QA Contact: other → www-mozilla-org
Version: unspecified → other
Assignee: nobody → bmo
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Checking in mozilla-org/html/support/firefox/tips.html;
/cvsroot/mozilla-org/html/support/firefox/tips.html,v  <--  tips.html
new revision: 1.25; previous revision: 1.24
done

FIXED. Please mark this bug as VERIFIED, once you've seen the changes on the website.

When you use Doctor, go to the "Save Changes" tab, and click on "Download Diff". You can then attach that patch file to the bug you are reporting, rather than copying the diff to a bug comment. :-)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Thanks for the speedy fix!
Status: RESOLVED → VERIFIED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.