views:

59

answers:

2
+2  Q: 

use custom border.

is there any way to use custom border by css or can make by JavaScript or jquery.

i want to use a different style of border. like we use

border-style:dashed;
+4  A: 

CSS3 can do this, but IE won't support it until IE9.

Check out this link: CSS3 border images.

Kyle Sevenoaks
+4  A: 

with CSS3 you can use border-image, which is what you are looking for. for more information click here - but note, that this is only supported by very few good browsers (firefox, safari - maybe opera - but no IE (until some day IE9 comes...)).

EDIT:

if you could give some more information how the border should look like, we could try to do some cross-browser-solution - but the best way is to use border-image... and some not-too-ugly-standard-border-fallback for that dumb piece of software called "IE".

oezi