On Sun, Jan 19, 2014 at 3:00 PM, SSC_perl <[email protected]> wrote: > On Jan 9, 2014, at 5:04 PM, Tom Livingston wrote: >> If I may, maybe this will get you started: > > Tom, > > I'm sorry I didn't respond earlier. I had a coding problem that > needed to be fixed, and then after that was done, I just plain forgot! > > Thanks so much for the code. I took it and modified it to optimize > the space usage in the search box, and also rounded the corners. > > (new URL, as the old one was broken) > > http://www.surfshopcart.com/cgi-bin/149/shop.cgi > > I have another question regarding this: is it possible to have the > #search_box size itself to the text inside without hard-coding a width? That > way the box would shrink and grow if someone changed the font size in their > browser. If I leave the width off, then there's a lot of empty space on the > right of that box.
I'm not sure of a way to do this exactly as you describe. Maybe another list member can help. Personally, I would just use a percentage width on that input, which would be based on the fieldset it's in. > Also, I noticed that the text "Search store for:", and it's > associated graphic, appear to be a pixel or two lower that the other links in > the blue bar to the left. I can't figure out how to align them with the > others. Try playing with the fieldset wrapping the search_box. Some other margin/padding settings were helping. Tweak to suit: margin: 0 2% 0 0; padding-top: 2px; > > Thanks again, > Frank > > http://www.surfshopcart.com/ > We're still in need of designers for a new UI. I suggest you refrain from using the above text in your footer on subsequent emails as it's against list policies, subtle as it may be. Hope this helps. -- Tom Livingston | Senior Front-End Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
