Instead of modifying search.htm, try putting this in your localsearch.css:
body
{
background-repeat : repeat-x;
background-image : url(background.bmp);
}
.txtfld
{
top: 6px;
height: 18px;
}
I'm not running XP anywhere, so I can't tell... let me know if it works.
Robert wrote:
> For those of you frustrated with the way DQSD looks in Windows XP, I
> have another solution to throw in the mix. All of the solutions I had
> seen involved doing things to the input area (or textarea) itself.
> These ideas generally involved setting/leaving the input area as large
> as the Taskbar, setting the background of the input area to a bitmap
> that looks like the Taskbar, and occasionally subsequently tweaking the
> metrics of the input area to taste. I never could get any of those
> schemes to look right and/or not have annoying UI side-effects. I just
> wanted it to look like a text input box on the Taskbar, like the
> built-in Address Toolbar. My down-and-dirty solution unfortunately
> involves editing search.htm. First, as with most of these schemes,
> build an image that looks like a vertical cross section of your Taskbar
> (mine was 30x1). Next, add a line similar to the following to
> search.htm:
>
> <img width=1000 height=30 src="images/background.bmp">
>
> I put my 'img' tag right before the 'table' tag that contains the
> 'txtfld'. Obviously, you may have to adjust the 'height', 'src'
> directory, and perhaps 'width', appropriately. At this point, your
> taskbar would be looking pretty kickass except that the 'txtfld' covers
> it up. In my case, I just overrode the position/size variables of the
> input area after the existing code finished setting them. These values
> worked well for me (I have my 'multiline' set to false):
>
> document.deff.q.style.top=6;
> document.deff.q.style.height=18;
>
> If you're using your 'gobutton', you'll probably find that it now looks
> like crap. Although I chose not to worry about it (since I have my
> 'showbutton' set to 0), I *think* this issue is similarly solved by
> modifying the 'gobutton' position/size in search.htm and, optionally,
> making it look pretty by setting background image(s) for the buttons in
> localsearch.css.
>
> ----- Original Message -----
> From: "Giampaolo Bellavite" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 13, 2002 3:50 PM
> Subject: [DQSD-Users] My little graphic changes for WindowsXP
>
>
> Dear dqsd-users,
>
> with a little bit of changes, I've made DQSD with a "WindowsXP feel".
>
> Here is a screen-shot:
> http://www.bellavite.com/dqsd.jpg
>
> I've made changes to the search.htm and search.css files:
>
> ----------
> SEARCH.HTM
> Removed the ">" symbol at line 729
>
> ----------
> SEARCH.CSS
> This is the CSS I've modified:
>
> .txtfld, .clock
> {
> font : menu;
> background-color: window;
> color: White;
> border-style: none;
> border-width:0 px;
> padding-top:8px;
> padding-left:2px;
> padding-right:2px;
> padding-bottom:3px;
> margin:0px;
> position:absolute;
> overflow:hidden;
> word-break:break-all;
> background-image: url(images/background.gif); text-align:right; }
> .clock {
> background-color: menu;
> color: #7BB6E8;
> cursor:hand;
> text-align:right;
> background-image: url(images/background.gif);
> }
> .gobutton, .mogobutton, .mdgobutton
> {
> font : menu;
> width: 16px;
> padding-bottom:1px;
> padding-top:1px;
> padding-right:1px;
> padding-left:1px;
> border: 0px;
> border-style: none;
> border-color:threedface;
> background-color:threedface;
> color:buttontext;
> margin:0px;
> position:absolute;
> background-image: url(images/search_button_normal.gif);
> }
> .mogobutton
> {
> border-style:outset;
> border-color:window;
> background-image: url(images/search_button_over.gif);
> }
> .mdgobutton
> {
> padding-bottom:0px;
> padding-top:2px;
> padding-right:0px;
> padding-left:2px;
> border-style:inset;
> border-color:window;
> background-image: url(images/search_button_down.gif);
> }
> ----------
>
> The images for this css can be downloaded here:
> http://www.bellavite.com/dqsd_images.zip
> and should be extracted in the "Quick Search Deskbar\images" directory.
>
> This was only an experiment, because I would have a DQSD more
> windowsxp-like :-)
>
> (I found DQSD today at betanews.com)
>
> --
> Giampaolo Bellavite, Milano (Italy)
>
> * E-mail: [EMAIL PROTECTED]
> * http://www.bellavite.com
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
DQSD-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-users
http://sourceforge.net/mailarchive/forum.php?forum_id=8601