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

Jul 26th, 2007, 08: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?


Jul 26th, 2007, 08: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?