Home › Forums › CSS › Too Early to Use CSS3 Image Borders? › Re: Too Early to Use CSS3 Image Borders?
January 4, 2011 at 7:23 pm
#67557
Historical Forums User
Participant
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….