HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Need to position sliding div...pls help
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
stebbi



Joined: 02 Sep 2008
Posts: 3

Posted: Tue Sep 02, 2008 6:49 am     Need to position sliding div...pls help  




CSS

Code: div#userListContainer {
   position:absolute;
   float:left;
   width: 130px;
   height: 370px;
   background-color:#e36b11;
   margin: 0px;
   padding-top: 5px;
   padding-bottom: 0px;
   padding-right: 0px;
   padding-left: 0px;
}

select#userList {
   width: 98%;
   padding: 4px
   height: 320px;


THANKS FOR YOUR HELP
quartzy



Joined: 26 Dec 2007
Posts: 413

Posted: Tue Sep 02, 2008 11:58 am     re  

make the outer div say 120px and see how that works, you can also make the 98%, 95% which would give it more room on the outer div [/quote]
sticks464



Joined: 31 Dec 2006
Posts: 1283

Posted: Tue Sep 02, 2008 12:00 pm      

Need to see all your code or a live link. But a good hint is you can't float an absolute positioned object. Use x and y coordinates for position.
stebbi



Joined: 02 Sep 2008
Posts: 3

Posted: Thu Sep 04, 2008 2:48 pm      

thanks that did it :)
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> CSS
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group