The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Too Early to Use CSS3 Image Borders? Re: Too Early to Use CSS3 Image Borders?


You can, however, accomplish this with some JavaScript and good-old absolute positioning.
Any elements you would want to have a border you’d need to add a class, like “.sqaureborder”, to. Use jQuery to find those classes, and append this set of divs;

topleft, topcenter, topright, leftcenter, rightcenter, bottomleft, bottomcenter, bottomright

You would then position these divs absolutely, giving them specific dimensions and background images. So yeah, its possible without CSS3, but a pain. I made a script like this some time ago….