Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Posted in: Widget Development

Problem w/ Seach Field Positon

Author Message
Solsonic



Joined: 27 Mar 2005
Posts: 19
Location: California

Posted: Fri Jul 09, 2004 - 5:27 pm    Post subject: Imported from The Dashboader Reply with quote

Hello all, I'm having a problem positioning a search field in my gadgets.
No matter what I input for
position: absolute;
left: 0px;
top: 0px;
z-index:10;
It doesn't move, its probably something simple, but... Here is the code:

<style>
#mainImage {
position:absolute;
left:0px;
top:0px;
width: 220px;
height: 40px;
background: url(Default.png) repeat none;
}


#searchField {
position: absolute;
left: 0px;
top: 0px;
z-index:10;
</style>

<div id = "mainImage">
<div id = "searchField"> <type=search size = "10" results=3 incremental onSearch="PerformSearch(this.value)"></div>

So I was wondering if there was a way I can put X,Y settings in the <div> area. I know very little about CSS, so any advise would be appreciated. Thanks

Steveo
View user's profile Send private message Send e-mail Visit poster's website Widgets
Solsonic



Joined: 27 Mar 2005
Posts: 19
Location: California

Posted: Fri Jul 09, 2004 - 5:27 pm    Post subject: Imported from The Dashboader Reply with quote

NEVERMIND
View user's profile Send private message Send e-mail Visit poster's website Widgets
JackoMac



Joined: 27 Mar 2005
Posts: 38
Location: United States of America

Posted: Fri Jul 09, 2004 - 5:27 pm    Post subject: Imported from The Dashboader Reply with quote

Solsonic, I assume by that you mean that you solved the problem? Would you mind sharing how you fixed this?
View user's profile Send private message Widgets
Solsonic



Joined: 27 Mar 2005
Posts: 19
Location: California

Posted: Fri Jul 09, 2004 - 5:27 pm    Post subject: Imported from The Dashboader Reply with quote

Sure, I was missing this bracket

#searchField {
position: absolute;
left: 0px;
top: 0px;
z-index:10;
} <--------


Simple right? lol
View user's profile Send private message Send e-mail Visit poster's website Widgets
JackoMac



Joined: 27 Mar 2005
Posts: 38
Location: United States of America

Posted: Fri Jul 09, 2004 - 5:27 pm    Post subject: Imported from The Dashboader Reply with quote

Lol. Well thanks for clearing it up still, I was stumped over why it didn't work!
View user's profile Send private message Widgets
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

 
Powered by phpBB © 2001, 2002 phpBB Group