Quick question on Javascript. - Page 2 - Overclock.net

Forum Jump: 
Thread Tools
post #11 of 11 Old 04-22-2013, 06:14 AM
*cough* Stock *cough*
randomizer's Avatar
Join Date: Apr 2009
Posts: 5,631
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 174
Yes, you have to be careful with the position property. Position:absolute is really just relative positioning within the first ancestor element that is not position:static (the default), or the page if no such element exists. This is why you need to set the position on the container div as well. If you're using position:relative then it operates differently again.

randomizer is offline  
Sponsored Links

Quick Reply

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump: 

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

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