CSS - Best way to do a border like this (with link to a website as example)

Posted by markzzz on Stack Overflow See other posts from Stack Overflow or by markzzz
Published on 2011-02-01T23:18:11Z Indexed on 2011/02/01 23:25 UTC
Read the original article Hit count: 193

Filed under:
|

Hi to everybody.

I need to do a border for my website that looks like this one. The only way I know is to split the website with 9 div, such :

1 2 3

4 5 6

7 8 9

and create 8 images, respectively:

  • top-left (on 1)
  • top central (on 2)
  • top-right (on 3)
  • left (on 4)
  • right (on 6)
  • bottom-left (on 7)
  • bottom-center (on 8)
  • bottom-right (on 9)

The div 5 is attempt as main. But the whole strategy looks not so well-formed. Any tips? Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about border