HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Moving Div
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
PK



Joined: 01 Feb 2006
Posts: 19

PostPosted: Sun Feb 12, 2006 8:17 am     Moving Div Reply with quote

Please can someone give me a piece of code to make a div to stay in the bottom-right of the screen?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Sun Feb 12, 2006 9:01 am     Reply with quote



That is going to be a little tricky. You need to use another div to be on top and more thna likely scrollable as well if you want the other one to stay.

Tables (along with layers) actually might be a bit easier and more compatible

_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions
errorlevel_03



Joined: 11 Feb 2006
Posts: 27

PostPosted: Sun Feb 12, 2006 3:16 pm     Reply with quote

Code:
div.classname{top: auto; right: .1px; left: auto; bottom: .1px; position: fixed;}


There yah go
errorlevel_03



Joined: 11 Feb 2006
Posts: 27

PostPosted: Sun Feb 12, 2006 3:24 pm     Reply with quote

Oops try this
Code:
div.classname{top: auto; right: .1px; left: auto; bottom: .1px; position: fixed;z-index:10;}


And you can add all your color and borders.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial