Reply
Live.com search box style?
Old 04-08-2006, 03:53 PM Live.com search box style?
Novice Talker

Posts: 12
Anyone knows how to style a textbox and image like the one in www.live.com?
__________________
»»» KenA.
KenA is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-09-2006, 11:35 AM Re: Live.com search box style?
Super Talker

Posts: 126
Location: Australia
Make background image for the search textbox area? And put background: url('pathtoimage') no-repeat;
__________________
TRIBOLIS.COM : Quality Linux Web Hosting Solutions : Since 2004
WHM/cPanel | PHP 5 | 24x7 Support NOW | Daily Backups!
WeLoveCSS.com XHTML & CSS Forum for everyone!
Tribolis is offline
Reply With Quote
View Public Profile Visit Tribolis's homepage!
 
Old 04-10-2006, 05:23 PM Re: Live.com search box style?
Novice Talker

Posts: 12
I´m actually looking for a way to do the hover in a standard way, not just a ie only solution ... js?
__________________
»»» KenA.
KenA is offline
Reply With Quote
View Public Profile
 
Old 04-10-2006, 05:34 PM Re: Live.com search box style?
jyoz22's Avatar
Extreme Talker

Posts: 242
Location: Orlando, FL
Add this to your CSS File...

.inputone{
background-image: url('path-here');
}

.inputtwo {
background-image: url('path-here');
}

AND
add this to your html body, where the text box will go...

<input type="text" name="name" onmouseover="this.className='inputtwo'" onmouseout="this.className='inputone'">
__________________
Jyoz
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 04-10-2006, 05:42 PM Re: Live.com search box style?
Novice Talker

Posts: 12
Thanx ... jyoz22!
__________________
»»» KenA.
KenA is offline
Reply With Quote
View Public Profile
 
Old 04-10-2006, 06:54 PM Re: Live.com search box style?
Novice Talker

Posts: 12
Considering just the input box:

Code:
<input type="text" ID="tbx1" class="tbx1_default"
	onmouseover="this.className='tbx1_hover';"
	onmouseout="this.className='tbx1_default';" />
And the style:

Code:
.tbx1_default
{
	border:1px solid #aaa;
	height:16px;
	width:250px;
	padding: 3px;
}
.tbx1_hover
{
	border:1px solid green;
	height:16px;
	width:250px;
	padding: 3px;
}
The effect is still not the same, eg: the glow is too thin ... I tried 2px border, but it´s not the way to go ... probably what´s glowing is not the input border, but maybe something else???
__________________
»»» KenA.
KenA is offline
Reply With Quote
View Public Profile
 
Old 04-11-2006, 03:47 AM Re: Live.com search box style?
amygdela's Avatar
Super Talker

Posts: 112
This is what you're looking for!

http://www.picment.com/articles/css/funwithforms/
amygdela is offline
Reply With Quote
View Public Profile
 
Old 04-12-2006, 08:48 PM Re: Live.com search box style?
Skilled Talker

Posts: 88
how can u keep it green when your typing something into the text box
__________________
Diablo 3 Community
raptrex is offline
Reply With Quote
View Public Profile Visit raptrex's homepage!
 
Old 04-13-2006, 05:56 AM Re: Live.com search box style?
amygdela's Avatar
Super Talker

Posts: 112
javascript! check the source of live.com
amygdela is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Live.com search box style?
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.17269 seconds with 12 queries