View Full Version : Floating a <div> container outside of its <div> container...

07-26-2007, 09:33 PM
Cans somebody please take a look at the voting box here http://jyte.com/cl/smarty-is-the-best-php-template-engine

(smack in the middle of the page) I looked at their css and cannot wrap my head around it. I am trying to float a <div> box outside of its <div> box by 50px but cannot figure out how. I can get the <div> box I want floated to display using the z-index property, but I cannot seem to figure out how it should be floated outside of its container... any ideas?


07-26-2007, 09:51 PM
That site is centered, so it probably has a wrapper div of some kind. Have you tried just making the div you want, placing it on the next line within the wrapper div and applying some margin suited to your needs?