CSS Question

Out of context: Reply #18

  • Started
  • Last post
  • 29 Responses
  • 1pxsolid0

    what the hell is that website?

    Anyway... it's called Absolutely Relative. Any absolute position will escape to the nearest 'relatively' positioned parent...

    So add 'position: relative" to #main

    #main {
    position: relative;
    background-color:#930;
    width: 300px;
    height: 300px;
    }

    • Yeah but he wants it positioned inside the box at the bottom-right, I think.
      ********
    • the code made the smaller box dissapearepikore
    • yeah, I want what pylon said, the smaller box inside the bigger box on the lower rightepikore
    • yeah, that was a free site I found real fastepikore

View thread