Comments on Profile Post by icedrift1

  1. oliverw92
    oliverw92
    You can just do the css3 property border-radius: 10px; to get the curved border, then set the border colour different to the background colour of the element. However if you want to get the border to be translucent/transparent then you have to have a div inside a div.
    Nov 4, 2011
  2. oliverw92
    oliverw92
    The outer one acts as the border (give it the border radius and set the colour and opacity for the border) and the inside one acts as the main element - give it the same border radius and set the main background color of it. I normally control widths with the outer one, then set the inner one to have 100% height and width. Give the outer one like 10px padding to make the border.
    Nov 4, 2011
  3. icedrift1
    icedrift1
    Yes, i understood the div inside div trick, my question was if you permit me to use it! :)
    Nov 5, 2011
  4. oliverw92
    oliverw92
    Oh yeah of course lol
    Nov 5, 2011